AmazonRdsForOracleSource Class

public final class AmazonRdsForOracleSource
extends CopySource

A copy activity AmazonRdsForOracle source.

Constructor Summary

Constructor Description
AmazonRdsForOracleSource()

Creates an instance of AmazonRdsForOracleSource class.

Method Summary

Modifier and Type Method and Description
Object additionalColumns()

Get the additionalColumns property: Specifies the additional columns to be added to source data.

static AmazonRdsForOracleSource fromJson(JsonReader jsonReader)

Reads an instance of AmazonRdsForOracleSource from the JsonReader.

Object oracleReaderQuery()

Get the oracleReaderQuery property: AmazonRdsForOracle reader query.

Object partitionOption()

Get the partitionOption property: The partition mechanism that will be used for AmazonRdsForOracle read in parallel.

AmazonRdsForOraclePartitionSettings partitionSettings()

Get the partitionSettings property: The settings that will be leveraged for AmazonRdsForOracle source partitioning.

Object queryTimeout()

Get the queryTimeout property: Query timeout.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Copy source type.

void validate()

Validates the instance.

AmazonRdsForOracleSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data.

AmazonRdsForOracleSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection.

AmazonRdsForOracleSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.

AmazonRdsForOracleSource withOracleReaderQuery(Object oracleReaderQuery)

Set the oracleReaderQuery property: AmazonRdsForOracle reader query.

AmazonRdsForOracleSource withPartitionOption(Object partitionOption)

Set the partitionOption property: The partition mechanism that will be used for AmazonRdsForOracle read in parallel.

AmazonRdsForOracleSource withPartitionSettings(AmazonRdsForOraclePartitionSettings partitionSettings)

Set the partitionSettings property: The settings that will be leveraged for AmazonRdsForOracle source partitioning.

AmazonRdsForOracleSource withQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout.

AmazonRdsForOracleSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

AmazonRdsForOracleSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

Methods inherited from CopySource

Methods inherited from java.lang.Object

Constructor Details

AmazonRdsForOracleSource

public AmazonRdsForOracleSource()

Creates an instance of AmazonRdsForOracleSource class.

Method Details

additionalColumns

public Object additionalColumns()

Get the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).

Returns:

the additionalColumns value.

fromJson

public static AmazonRdsForOracleSource fromJson(JsonReader jsonReader)

Reads an instance of AmazonRdsForOracleSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AmazonRdsForOracleSource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AmazonRdsForOracleSource.

oracleReaderQuery

public Object oracleReaderQuery()

Get the oracleReaderQuery property: AmazonRdsForOracle reader query. Type: string (or Expression with resultType string).

Returns:

the oracleReaderQuery value.

partitionOption

public Object partitionOption()

Get the partitionOption property: The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string).

Returns:

the partitionOption value.

partitionSettings

public AmazonRdsForOraclePartitionSettings partitionSettings()

Get the partitionSettings property: The settings that will be leveraged for AmazonRdsForOracle source partitioning.

Returns:

the partitionSettings value.

queryTimeout

public Object queryTimeout()

Get the queryTimeout property: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Returns:

the queryTimeout value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AmazonRdsForOracleSource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Copy source type.

Overrides:

AmazonRdsForOracleSource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

AmazonRdsForOracleSource.validate()

withAdditionalColumns

public AmazonRdsForOracleSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).

Parameters:

additionalColumns - the additionalColumns value to set.

Returns:

the AmazonRdsForOracleSource object itself.

withDisableMetricsCollection

public AmazonRdsForOracleSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).

Overrides:

AmazonRdsForOracleSource.withDisableMetricsCollection(Object disableMetricsCollection)

Parameters:

disableMetricsCollection

withMaxConcurrentConnections

public AmazonRdsForOracleSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).

Overrides:

AmazonRdsForOracleSource.withMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

withOracleReaderQuery

public AmazonRdsForOracleSource withOracleReaderQuery(Object oracleReaderQuery)

Set the oracleReaderQuery property: AmazonRdsForOracle reader query. Type: string (or Expression with resultType string).

Parameters:

oracleReaderQuery - the oracleReaderQuery value to set.

Returns:

the AmazonRdsForOracleSource object itself.

withPartitionOption

public AmazonRdsForOracleSource withPartitionOption(Object partitionOption)

Set the partitionOption property: The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string).

Parameters:

partitionOption - the partitionOption value to set.

Returns:

the AmazonRdsForOracleSource object itself.

withPartitionSettings

public AmazonRdsForOracleSource withPartitionSettings(AmazonRdsForOraclePartitionSettings partitionSettings)

Set the partitionSettings property: The settings that will be leveraged for AmazonRdsForOracle source partitioning.

Parameters:

partitionSettings - the partitionSettings value to set.

Returns:

the AmazonRdsForOracleSource object itself.

withQueryTimeout

public AmazonRdsForOracleSource withQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Parameters:

queryTimeout - the queryTimeout value to set.

Returns:

the AmazonRdsForOracleSource object itself.

withSourceRetryCount

public AmazonRdsForOracleSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).

Overrides:

AmazonRdsForOracleSource.withSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

withSourceRetryWait

public AmazonRdsForOracleSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Overrides:

AmazonRdsForOracleSource.withSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

Applies to