| Modifier and Type | Method and Description |
|---|---|
boolean |
Driver.acceptsURL(String url)
Returns true if the driver thinks it can open a connection to the given URL.
|
NativeTokenHolder |
INativePlugin.getCredentials() |
String |
INativePlugin.getIdpToken() |
int |
RedshiftProperty.getInt(Properties properties)
Return the int value for this connection parameter in the given
Properties. |
Integer |
RedshiftProperty.getInteger(Properties properties)
Return the
Integer value for this connection parameter in the given Properties. |
DriverPropertyInfo[] |
Driver.getPropertyInfo(String url,
Properties info)
The getPropertyInfo method is intended to allow a generic GUI tool to discover what properties
it should prompt a human for in order to get enough information to connect to a database.
|
static RedshiftProperties |
Driver.parseURL(String url,
RedshiftProperties defaults)
Constructs a new DriverURL, splitting the specified URL into its component parts.
|
void |
INativePlugin.refresh() |
| Modifier and Type | Method and Description |
|---|---|
static SocketFactory |
SocketFactoryFactory.getSocketFactory(Properties info)
Instantiates
SocketFactory based on the RedshiftProperty.SOCKET_FACTORY. |
static SSLSocketFactory |
SocketFactoryFactory.getSslSocketFactory(Properties info)
Instantiates
SSLSocketFactory based on the RedshiftProperty.SSL_FACTORY. |
void |
CommandCompleteParser.parse(String status)
Parses
CommandComplete (B) message. |
protected static RedshiftProperties |
IdpAuthHelper.setAuthProperties(RedshiftProperties info,
RedshiftJDBCSettings settings,
RedshiftLogger log) |
static RedshiftProperties |
IamHelper.setIAMProperties(RedshiftProperties info,
RedshiftJDBCSettings settings,
RedshiftLogger log)
Helper function to handle IAM connection properties.
|
void |
RedshiftStream.setMaxResultBuffer(String value)
Method to set MaxResultBuffer inside RedshiftStream.
|
static RedshiftProperties |
NativeAuthPluginHelper.setNativeAuthPluginProperties(RedshiftProperties info,
RedshiftJDBCSettings settings,
RedshiftLogger log)
Helper function to handle Native Auth Plugin connection properties.
|
static int |
Oid.valueOf(String oid) |
| Modifier and Type | Method and Description |
|---|---|
void |
CopyOperationImpl.handleCommandStatus(String status) |
void |
CopyDualImpl.handleCommandStatus(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 |
|---|---|
void |
BaseDataSource.setUrl(String url)
Sets properties from a
DriverManager URL. |
void |
BaseDataSource.setURL(String url)
Sets properties from a
DriverManager URL. |
| Modifier and Type | Method and Description |
|---|---|
static String |
RedshiftConnectionImpl.getRequiredConnSetting(String key,
Properties info) |
static String |
RedshiftConnectionImpl.getRequiredSetting(String key,
Properties info)
Get the required setting, and throw an exception if it isn't present.
|
static SslMode |
SslMode.of(Properties info) |
void |
TimestampUtils.toBinDate(TimeZone tz,
byte[] bytes,
Date value)
Converts the SQL Date to binary representation for
Oid.DATE. |
void |
TimestampUtils.toBinTimestamp(TimeZone tz,
byte[] bytes,
Timestamp value)
Converts the SQL Timestamp to binary representation for
Oid.TIMESTAMP. |
Date |
TimestampUtils.toDateBin(TimeZone tz,
byte[] bytes)
Returns the SQL Date object matching the given bytes with
Oid.DATE. |
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.
|
Time |
TimestampUtils.toTimeBin(TimeZone tz,
byte[] bytes)
Returns the SQL Time object matching the given bytes with
Oid.TIME or
Oid.TIMETZ. |
Timestamp |
TimestampUtils.toTimestampAbsTimeBin(TimeZone tz,
byte[] bytes,
boolean timestamptz,
Calendar cal)
Returns the SQL Timestamp object matching the given bytes with
Oid.TIMESTAMP or
Oid.TIMESTAMPTZ. |
Timestamp |
TimestampUtils.toTimestampBin(TimeZone tz,
byte[] bytes,
boolean timestamptz,
Calendar cal)
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 |
|---|---|
NativeTokenHolder |
CommonCredentialsProvider.getCredentials() |
NativeTokenHolder |
BrowserOktaSAMLCredentialsProvider.getCredentials() |
NativeTokenHolder |
JwtCredentialsProvider.getCredentials() |
String |
CommonCredentialsProvider.getIdpToken() |
String |
BrowserOktaSAMLCredentialsProvider.getIdpToken() |
String |
JwtCredentialsProvider.getIdpToken() |
void |
CommonCredentialsProvider.refresh() |
void |
BrowserOktaSAMLCredentialsProvider.refresh() |
void |
JwtCredentialsProvider.refresh() |
| Modifier and Type | Method and Description |
|---|---|
static void |
MakeSSL.convert(RedshiftStream stream,
Properties info) |
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. |
void |
LazyKeyManager.throwKeyManagerException()
getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored
in
LazyKeyManager.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 void |
RedshiftProperties.evaluateProperties(RedshiftProperties properties) |
static long |
RedshiftPropertyMaxResultBufferParser.parseProperty(String value,
String propertyName)
Method to parse value of max result buffer size.
|
| Constructor and Description |
|---|
RedshiftProperties(Properties info,
Properties defaults)
Creates an empty property list with the specified defaults.
|
StreamWrapper(InputStream stream) |
Copyright © 2024 Amazon.com Inc.. All rights reserved.