| Modifier and Type | Method and Description |
|---|---|
void |
INativePlugin.setLogger(RedshiftLogger log) |
void |
IPlugin.setLogger(RedshiftLogger log) |
| Modifier and Type | Field and Description |
|---|---|
protected RedshiftLogger |
QueryExecutorBase.logger |
protected RedshiftLogger |
Encoding.logger |
| Modifier and Type | Method and Description |
|---|---|
RedshiftLogger |
RedshiftStream.getLogger() |
RedshiftLogger |
BaseConnection.getLogger() |
| Modifier and Type | Method and Description |
|---|---|
static EncodingPredictor.DecodeResult |
EncodingPredictor.decode(byte[] bytes,
int offset,
int length,
RedshiftLogger logger) |
static Encoding |
Encoding.getDatabaseEncoding(String databaseEncoding,
RedshiftLogger logger)
Construct an Encoding for a given database encoding.
|
static Encoding |
Encoding.getJVMEncoding(String jvmEncoding,
RedshiftLogger logger)
Construct an Encoding for a given JVM encoding.
|
static int |
CompressedInputStream.lz4_decompress(byte[] compressed,
int position,
int compressedLen,
byte[] dest,
int dOff,
RedshiftLogger logger)
Implementation of lz4 decompression.
|
static QueryExecutor |
ConnectionFactory.openConnection(HostSpec[] hostSpecs,
String user,
String database,
Properties info,
RedshiftLogger logger)
Establishes and initializes a new connection.
|
abstract QueryExecutor |
ConnectionFactory.openConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
Properties info,
RedshiftLogger logger)
Implementation of
ConnectionFactory.openConnection(com.amazon.redshift.util.HostSpec[], java.lang.String, java.lang.String, java.util.Properties, com.amazon.redshift.logger.RedshiftLogger) for a particular protocol version. |
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.
|
static RedshiftProperties |
NativeAuthPluginHelper.setNativeAuthPluginProperties(RedshiftProperties info,
RedshiftJDBCSettings settings,
RedshiftLogger log)
Helper function to handle Native Auth Plugin connection properties.
|
RedshiftReplicationStream |
ReplicationProtocol.startLogical(LogicalReplicationOptions options,
RedshiftLogger logger) |
RedshiftReplicationStream |
ReplicationProtocol.startPhysical(PhysicalReplicationOptions options,
RedshiftLogger logger) |
| Constructor and Description |
|---|
CompressedInputStream(InputStream in,
RedshiftLogger in_logger) |
Encoding(Charset encoding,
boolean fastASCIINumbers,
RedshiftLogger logger)
Subclasses may use this constructor if they know in advance of their ASCII number
compatibility.
|
Encoding(Charset encoding,
RedshiftLogger logger)
Use the charset passed as parameter and tests at creation time whether the specified encoding
is compatible with ASCII numbers.
|
PluginProfilesConfigFile(RedshiftJDBCSettings settings,
RedshiftLogger log) |
QueryExecutorBase(RedshiftStream pgStream,
String user,
String database,
int cancelSignalTimeout,
Properties info,
RedshiftLogger logger) |
RedshiftStream(SocketFactory socketFactory,
HostSpec hostSpec,
int timeout,
RedshiftLogger logger,
boolean disableCompressionForSSL,
Properties info)
Constructor: Connect to the Redshift back end and return a stream connection.
|
RedshiftStream(SocketFactory socketFactory,
HostSpec hostSpec,
RedshiftLogger logger,
Properties info)
|
| Modifier and Type | Method and Description |
|---|---|
RedshiftStream |
ConnectionFactoryImpl.constructNewStream(SocketFactory socketFactory,
HostSpec hostSpec,
int connectTimeout,
RedshiftLogger logger,
Boolean disableCompressionForSSL,
Properties info) |
BatchedQuery |
BatchedQuery.deriveForMultiBatch(int valueBlock,
int maxBlockCount,
RedshiftLogger logger) |
QueryExecutor |
ConnectionFactoryImpl.openConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
Properties info,
RedshiftLogger logger) |
| Constructor and Description |
|---|
BatchedQuery(NativeQuery query,
TypeTransferModeRegistry transferModeRegistry,
int valuesBraceOpenPosition,
int valuesBraceClosePosition,
boolean sanitiserDisabled,
RedshiftLogger logger) |
QueryExecutorImpl(RedshiftStream pgStream,
String user,
String database,
int cancelSignalTimeout,
Properties info,
RedshiftLogger logger) |
RedshiftRowsBlockingQueue(int fetchSize,
long fetchRingBufferSize,
RedshiftLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
RedshiftReplicationStream |
V3ReplicationProtocol.startLogical(LogicalReplicationOptions options,
RedshiftLogger logger) |
RedshiftReplicationStream |
V3ReplicationProtocol.startPhysical(PhysicalReplicationOptions options,
RedshiftLogger logger) |
| Constructor and Description |
|---|
V3RedshiftReplicationStream(CopyDual copyDual,
LogSequenceNumber startLSN,
long updateIntervalMs,
ReplicationType replicationType,
RedshiftLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MakeGSS.authenticate(RedshiftStream pgStream,
String host,
String user,
String password,
String jaasApplicationName,
String kerberosServerName,
boolean useSpnego,
boolean jaasLogin,
boolean logServerErrorDetail,
RedshiftLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
RedshiftLogger |
RedshiftConnectionImpl.getLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeInfoCache.cacheSQLTypes(RedshiftLogger logger) |
| Constructor and Description |
|---|
RedshiftConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
RedshiftProperties info,
String url,
RedshiftLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
static RedshiftLogger |
RedshiftLogger.getDriverLogger() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RedshiftLogger.checkLogLevel(LogLevel level,
RedshiftLogger log)
Determines if logging should occur based on the LogLevel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrowserOktaSAMLCredentialsProvider.setLogger(RedshiftLogger log) |
void |
CommonCredentialsProvider.setLogger(RedshiftLogger log) |
void |
JwtCredentialsProvider.setLogger(RedshiftLogger log) |
void |
SamlCredentialsProvider.setLogger(RedshiftLogger log) |
| Constructor and Description |
|---|
Server(int port,
RequestHandler handler,
Duration waitTime,
RedshiftLogger log)
Ad-hoc http server.
|
| Modifier and Type | Method and Description |
|---|---|
static AWSSecurityTokenService |
RequestUtils.buildSts(String stsEndpoint,
String region,
AWSSecurityTokenServiceClientBuilder builder,
AWSCredentialsProvider p,
RedshiftLogger log) |
static ClientConfiguration |
RequestUtils.getProxyClientConfig(RedshiftLogger log) |
| Constructor and Description |
|---|
RedshiftException(String msg,
RedshiftState state,
Throwable cause,
RedshiftLogger logger) |
Copyright © 2024 Amazon.com Inc.. All rights reserved.