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 Object
additionalColumns()
Get the additionalColumns property: Specifies the additional columns to be added to source data.Object
oracleReaderQuery()
Get the oracleReaderQuery property: Oracle reader query.Object
partitionOption()
Get the partitionOption property: The partition mechanism that will be used for Oracle read in parallel.OraclePartitionSettings
partitionSettings()
Get the partitionSettings property: The settings that will be leveraged for Oracle source partitioning.Object
queryTimeout()
Get the queryTimeout property: Query timeout.void
validate()
Validates the instance.OracleSource
withAdditionalColumns(Object additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data.OracleSource
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.OracleSource
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.OracleSource
withOracleReaderQuery(Object oracleReaderQuery)
Set the oracleReaderQuery property: Oracle reader query.OracleSource
withPartitionOption(Object partitionOption)
Set the partitionOption property: The partition mechanism that will be used for Oracle read in parallel.OracleSource
withPartitionSettings(OraclePartitionSettings partitionSettings)
Set the partitionSettings property: The settings that will be leveraged for Oracle source partitioning.OracleSource
withQueryTimeout(Object queryTimeout)
Set the queryTimeout property: Query timeout.OracleSource
withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count.OracleSource
withSourceRetryWait(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:
withSourceRetryCount
in 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:
withSourceRetryWait
in 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:
withMaxConcurrentConnections
in 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:
withDisableMetricsCollection
in classCopySource
- Parameters:
disableMetricsCollection
- the disableMetricsCollection value to set.- Returns:
- the CopySource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classCopySource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-