Modifier and Type | Method and Description |
---|---|
int |
PGProperty.getInt(java.util.Properties properties)
Return the int value for this connection parameter in the given
Properties . |
java.lang.Integer |
PGProperty.getInteger(java.util.Properties properties)
Return the
Integer value for this connection parameter in the given Properties . |
Modifier and Type | Method and Description |
---|---|
static javax.net.SocketFactory |
SocketFactoryFactory.getSocketFactory(java.util.Properties info)
Instantiates
SocketFactory based on the PGProperty.SOCKET_FACTORY . |
static javax.net.ssl.SSLSocketFactory |
SocketFactoryFactory.getSslSocketFactory(java.util.Properties info)
Instantiates
SSLSocketFactory based on the PGProperty.SSL_FACTORY . |
void |
CommandCompleteParser.parse(java.lang.String status)
Parses
CommandComplete (B) message. |
void |
PGStream.setMaxResultBuffer(java.lang.String value)
Method to set MaxResultBuffer inside PGStream.
|
static int |
Oid.valueOf(java.lang.String oid) |
Modifier and Type | Method and Description |
---|---|
void |
CopyOperationImpl.handleCommandStatus(java.lang.String status) |
void |
CopyDualImpl.handleCommandStatus(java.lang.String status) |
protected abstract void |
CopyOperationImpl.handleCopydata(byte[] data)
Consume received copy data.
|
protected void |
CopyInImpl.handleCopydata(byte[] data) |
Modifier and Type | Method and Description |
---|---|
static void |
MakeGSS.authenticate(boolean encrypted,
PGStream pgStream,
java.lang.String host,
java.lang.String user,
char[] password,
java.lang.String jaasApplicationName,
java.lang.String kerberosServerName,
boolean useSpnego,
boolean jaasLogin,
boolean logServerErrorDetail) |
Modifier and Type | Method and Description |
---|---|
static SslMode |
SslMode.of(java.util.Properties info) |
static GSSEncMode |
GSSEncMode.of(java.util.Properties info) |
void |
TimestampUtils.toBinDate(java.util.TimeZone tz,
byte[] bytes,
java.sql.Date value)
Converts the SQL Date to binary representation for
Oid.DATE . |
java.sql.Date |
TimestampUtils.toDateBin(java.util.TimeZone tz,
byte[] bytes)
Returns the SQL Date object matching the given bytes with
Oid.DATE . |
java.time.LocalDate |
TimestampUtils.toLocalDateBin(byte[] bytes)
Returns the local date time object matching the given bytes with
Oid.DATE or
Oid.TIMESTAMP . |
java.time.LocalDateTime |
TimestampUtils.toLocalDateTimeBin(byte[] bytes)
Returns the local date time object matching the given bytes with
Oid.TIMESTAMP or
Oid.TIMESTAMPTZ . |
java.time.LocalTime |
TimestampUtils.toLocalTimeBin(byte[] bytes)
Returns the SQL Time object matching the given bytes with
Oid.TIME . |
java.time.OffsetDateTime |
TimestampUtils.toOffsetDateTimeBin(byte[] bytes)
Returns the offset date time object matching the given bytes with Oid#TIMESTAMPTZ.
|
java.time.OffsetTime |
TimestampUtils.toOffsetTimeBin(byte[] bytes)
Returns the offset time object matching the given bytes with Oid#TIMETZ or Oid#TIME.
|
java.lang.String |
TimestampUtils.toStringOffsetDateTime(byte[] value)
Converts
timestamptz to string taking client time zone (TimestampUtils.timeZoneProvider )
into account. |
java.lang.String |
TimestampUtils.toStringOffsetTimeBin(byte[] value)
Converts
timetz to string taking client time zone (TimestampUtils.timeZoneProvider )
into account. |
java.sql.Time |
TimestampUtils.toTimeBin(java.util.TimeZone tz,
byte[] bytes)
Returns the SQL Time object matching the given bytes with
Oid.TIME or
Oid.TIMETZ . |
java.sql.Timestamp |
TimestampUtils.toTimestampBin(java.util.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,
java.util.Properties info) |
void |
PKCS12KeyManager.throwKeyManagerException()
getCertificateChain and getPrivateKey cannot throw exceptions, therefore any exception is stored
in
PKCS12KeyManager.error and can be raised by this method. |
void |
LibPQFactory.throwKeyManagerException()
Propagates any exception from
LazyKeyManager . |
void |
LazyKeyManager.throwKeyManagerException()
getCertificateChain and getPrivateKey cannot throw exceptions, therefore any exception is stored
in
LazyKeyManager.error and can be raised by this method. |
Constructor and Description |
---|
LibPQFactory(java.util.Properties info) |
PKCS12KeyManager(java.lang.String pkcsFile,
javax.security.auth.callback.CallbackHandler cbh) |
Constructor and Description |
---|
LibPQFactory(java.util.Properties info)
Deprecated.
prefer
LibPQFactory |
Modifier and Type | Method and Description |
---|---|
static long |
PGPropertyMaxResultBufferParser.parseProperty(java.lang.String value)
Method to parse value of max result buffer size.
|
Constructor and Description |
---|
StreamWrapper(java.io.InputStream stream) |
Copyright © 2024 PostgreSQL Global Development Group. All rights reserved.