Class OracleSource
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CopySource
-
- com.azure.resourcemanager.datafactory.models.OracleSource
-
public final class OracleSource extends CopySource
A copy activity Oracle source.
-
-
Constructor Summary
Constructors Constructor Description OracleSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectadditionalColumns()Get the additionalColumns property: Specifies the additional columns to be added to source data.ObjectoracleReaderQuery()Get the oracleReaderQuery property: Oracle reader query.ObjectpartitionOption()Get the partitionOption property: The partition mechanism that will be used for Oracle read in parallel.OraclePartitionSettingspartitionSettings()Get the partitionSettings property: The settings that will be leveraged for Oracle source partitioning.ObjectqueryTimeout()Get the queryTimeout property: Query timeout.voidvalidate()Validates the instance.OracleSourcewithAdditionalColumns(Object additionalColumns)Set the additionalColumns property: Specifies the additional columns to be added to source data.OracleSourcewithDisableMetricsCollection(Object disableMetricsCollection)Set the disableMetricsCollection property: If true, disable data store metrics collection.OracleSourcewithMaxConcurrentConnections(Object maxConcurrentConnections)Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.OracleSourcewithOracleReaderQuery(Object oracleReaderQuery)Set the oracleReaderQuery property: Oracle reader query.OracleSourcewithPartitionOption(Object partitionOption)Set the partitionOption property: The partition mechanism that will be used for Oracle read in parallel.OracleSourcewithPartitionSettings(OraclePartitionSettings partitionSettings)Set the partitionSettings property: The settings that will be leveraged for Oracle source partitioning.OracleSourcewithQueryTimeout(Object queryTimeout)Set the queryTimeout property: Query timeout.OracleSourcewithSourceRetryCount(Object sourceRetryCount)Set the sourceRetryCount property: Source retry count.OracleSourcewithSourceRetryWait(Object sourceRetryWait)Set the sourceRetryWait property: Source retry wait.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.CopySource
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sourceRetryCount, sourceRetryWait, withAdditionalProperties
-
-
-
-
Method Detail
-
oracleReaderQuery
public Object oracleReaderQuery()
Get the oracleReaderQuery property: Oracle reader query. Type: string (or Expression with resultType string).- Returns:
- the oracleReaderQuery value.
-
withOracleReaderQuery
public OracleSource withOracleReaderQuery(Object oracleReaderQuery)
Set the oracleReaderQuery property: Oracle reader query. Type: string (or Expression with resultType string).- Parameters:
oracleReaderQuery- the oracleReaderQuery value to set.- Returns:
- the OracleSource object itself.
-
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.
-
withQueryTimeout
public OracleSource 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 OracleSource object itself.
-
partitionOption
public Object partitionOption()
Get the partitionOption property: The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".- Returns:
- the partitionOption value.
-
withPartitionOption
public OracleSource withPartitionOption(Object partitionOption)
Set the partitionOption property: The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".- Parameters:
partitionOption- the partitionOption value to set.- Returns:
- the OracleSource object itself.
-
partitionSettings
public OraclePartitionSettings partitionSettings()
Get the partitionSettings property: The settings that will be leveraged for Oracle source partitioning.- Returns:
- the partitionSettings value.
-
withPartitionSettings
public OracleSource withPartitionSettings(OraclePartitionSettings partitionSettings)
Set the partitionSettings property: The settings that will be leveraged for Oracle source partitioning.- Parameters:
partitionSettings- the partitionSettings value to set.- Returns:
- the OracleSource object itself.
-
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.
-
withAdditionalColumns
public OracleSource 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 OracleSource object itself.
-
withSourceRetryCount
public OracleSource withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).- Overrides:
withSourceRetryCountin classCopySource- Parameters:
sourceRetryCount- the sourceRetryCount value to set.- Returns:
- the CopySource object itself.
-
withSourceRetryWait
public OracleSource 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:
withSourceRetryWaitin classCopySource- Parameters:
sourceRetryWait- the sourceRetryWait value to set.- Returns:
- the CopySource object itself.
-
withMaxConcurrentConnections
public OracleSource 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:
withMaxConcurrentConnectionsin classCopySource- Parameters:
maxConcurrentConnections- the maxConcurrentConnections value to set.- Returns:
- the CopySource object itself.
-
withDisableMetricsCollection
public OracleSource 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:
withDisableMetricsCollectionin classCopySource- Parameters:
disableMetricsCollection- the disableMetricsCollection value to set.- Returns:
- the CopySource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classCopySource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-