Modifier and Type | Method and Description |
---|---|
int |
PGProperty.getInt(Properties properties)
Return the int value for this connection parameter in the given
Properties . |
Integer |
PGProperty.getInteger(Properties properties)
Return the
Integer value for this connection parameter in the given Properties . |
Modifier and Type | Method and Description |
---|---|
static SocketFactory |
SocketFactoryFactory.getSocketFactory(Properties info)
Instantiates
SocketFactory based on the PGProperty.SOCKET_FACTORY . |
static SSLSocketFactory |
SocketFactoryFactory.getSslSocketFactory(Properties info)
Instantiates
SSLSocketFactory based on the PGProperty.SSL_FACTORY . |
void |
CommandCompleteParser.parse(String status)
Parses
CommandComplete (B) message. |
void |
PGStream.setMaxResultBuffer(String value)
Method to set MaxResultBuffer inside PGStream.
|
static int |
Oid.valueOf(String oid) |
Modifier and Type | Method and Description |
---|---|
void |
CopyOperationImpl.handleCommandStatus(String status) |
void |
CopyDualImpl.handleCommandStatus(String status) |
protected void |
CopyInImpl.handleCopydata(byte[] data) |
protected abstract void |
CopyOperationImpl.handleCopydata(byte[] data)
Consume received copy data.
|
Modifier and Type | Method and Description |
---|---|
static void |
MakeGSS.authenticate(boolean encrypted,
PGStream pgStream,
String host,
String user,
char[] password,
String jaasApplicationName,
String kerberosServerName,
boolean useSpnego,
boolean jaasLogin,
boolean logServerErrorDetail) |
Modifier and Type | Method and Description |
---|---|
static SslMode |
SslMode.of(Properties info) |
static GSSEncMode |
GSSEncMode.of(Properties info) |
void |
TimestampUtils.toBinDate(TimeZone tz,
byte[] bytes,
Date value)
Converts the SQL Date to binary representation for
Oid.DATE . |
Date |
TimestampUtils.toDateBin(TimeZone tz,
byte[] bytes)
Returns the SQL Date object matching the given bytes with
Oid.DATE . |
LocalDate |
TimestampUtils.toLocalDateBin(byte[] bytes)
Returns the local date time object matching the given bytes with
Oid.DATE or
Oid.TIMESTAMP . |
LocalDateTime |
TimestampUtils.toLocalDateTimeBin(byte[] bytes)
Returns the local date time object matching the given bytes with
Oid.TIMESTAMP or
Oid.TIMESTAMPTZ . |
LocalTime |
TimestampUtils.toLocalTimeBin(byte[] bytes)
Returns the SQL Time object matching the given bytes with
Oid.TIME . |
OffsetDateTime |
TimestampUtils.toOffsetDateTimeBin(byte[] bytes)
Returns the offset date time object matching the given bytes with Oid#TIMESTAMPTZ.
|
OffsetTime |
TimestampUtils.toOffsetTimeBin(byte[] bytes)
Returns the offset time object matching the given bytes with Oid#TIMETZ or Oid#TIME.
|
Time |
TimestampUtils.toTimeBin(TimeZone tz,
byte[] bytes)
Returns the SQL Time object matching the given bytes with
Oid.TIME or
Oid.TIMETZ . |
Timestamp |
TimestampUtils.toTimestampBin(TimeZone tz,
byte[] bytes,
boolean timestamptz)
Returns the SQL Timestamp object matching the given bytes with
Oid.TIMESTAMP or
Oid.TIMESTAMPTZ . |
Modifier and Type | Method and Description |
---|---|
void |
ScramAuthenticator.processServerFirstMessage(int length) |
void |
ScramAuthenticator.processServerMechanismsAndInit() |
void |
ScramAuthenticator.verifyServerSignature(int length) |
Modifier and Type | Method and Description |
---|---|
char[] |
AuthenticationPlugin.getPassword(AuthenticationRequestType type)
Callback method to provide the password to use for authentication.
|
Modifier and Type | Method and Description |
---|---|
static void |
MakeSSL.convert(PGStream stream,
Properties info) |
void |
LazyKeyManager.throwKeyManagerException()
getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored
in
LazyKeyManager.error and can be raised by this method. |
void |
LibPQFactory.throwKeyManagerException()
Propagates any exception from
LazyKeyManager . |
void |
PKCS12KeyManager.throwKeyManagerException()
getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored
in
PKCS12KeyManager.error and can be raised by this method. |
Constructor and Description |
---|
LibPQFactory(Properties info) |
PKCS12KeyManager(String pkcsFile,
CallbackHandler cbh) |
Constructor and Description |
---|
LibPQFactory(Properties info)
Deprecated.
prefer
LibPQFactory |
Modifier and Type | Method and Description |
---|---|
static long |
PGPropertyMaxResultBufferParser.parseProperty(String value)
Method to parse value of max result buffer size.
|
Constructor and Description |
---|
StreamWrapper(InputStream stream) |
Copyright © 2023 PostgreSQL Global Development Group. All rights reserved.