public final class SqlSource extends TabularSource
| Constructor and Description |
|---|
SqlSource() |
| Modifier and Type | Method and Description |
|---|---|
Object |
isolationLevel()
Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source.
|
Object |
partitionOption()
Get the partitionOption property: The partition mechanism that will be used for Sql read in parallel.
|
SqlPartitionSettings |
partitionSettings()
Get the partitionSettings property: The settings that will be leveraged for Sql source partitioning.
|
Object |
sqlReaderQuery()
Get the sqlReaderQuery property: SQL reader query.
|
Object |
sqlReaderStoredProcedureName()
Get the sqlReaderStoredProcedureName property: Name of the stored procedure for a SQL Database source.
|
Map<String,StoredProcedureParameter> |
storedProcedureParameters()
Get the storedProcedureParameters property: Value and type setting for stored procedure parameters.
|
void |
validate()
Validates the instance.
|
SqlSource |
withAdditionalColumns(List<AdditionalColumns> additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data.
|
SqlSource |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
SqlSource |
withIsolationLevel(Object isolationLevel)
Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source.
|
SqlSource |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.
|
SqlSource |
withPartitionOption(Object partitionOption)
Set the partitionOption property: The partition mechanism that will be used for Sql read in parallel.
|
SqlSource |
withPartitionSettings(SqlPartitionSettings partitionSettings)
Set the partitionSettings property: The settings that will be leveraged for Sql source partitioning.
|
SqlSource |
withQueryTimeout(Object queryTimeout)
Set the queryTimeout property: Query timeout.
|
SqlSource |
withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count.
|
SqlSource |
withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait.
|
SqlSource |
withSqlReaderQuery(Object sqlReaderQuery)
Set the sqlReaderQuery property: SQL reader query.
|
SqlSource |
withSqlReaderStoredProcedureName(Object sqlReaderStoredProcedureName)
Set the sqlReaderStoredProcedureName property: Name of the stored procedure for a SQL Database source.
|
SqlSource |
withStoredProcedureParameters(Map<String,StoredProcedureParameter> storedProcedureParameters)
Set the storedProcedureParameters property: Value and type setting for stored procedure parameters.
|
additionalColumns, queryTimeoutadditionalProperties, disableMetricsCollection, maxConcurrentConnections, sourceRetryCount, sourceRetryWait, withAdditionalPropertiespublic Object sqlReaderQuery()
public SqlSource withSqlReaderQuery(Object sqlReaderQuery)
sqlReaderQuery - the sqlReaderQuery value to set.public Object sqlReaderStoredProcedureName()
public SqlSource withSqlReaderStoredProcedureName(Object sqlReaderStoredProcedureName)
sqlReaderStoredProcedureName - the sqlReaderStoredProcedureName value to set.public Map<String,StoredProcedureParameter> storedProcedureParameters()
public SqlSource withStoredProcedureParameters(Map<String,StoredProcedureParameter> storedProcedureParameters)
storedProcedureParameters - the storedProcedureParameters value to set.public Object isolationLevel()
public SqlSource withIsolationLevel(Object isolationLevel)
isolationLevel - the isolationLevel value to set.public Object partitionOption()
public SqlSource withPartitionOption(Object partitionOption)
partitionOption - the partitionOption value to set.public SqlPartitionSettings partitionSettings()
public SqlSource withPartitionSettings(SqlPartitionSettings partitionSettings)
partitionSettings - the partitionSettings value to set.public SqlSource withQueryTimeout(Object queryTimeout)
withQueryTimeout in class TabularSourcequeryTimeout - the queryTimeout value to set.public SqlSource withAdditionalColumns(List<AdditionalColumns> additionalColumns)
withAdditionalColumns in class TabularSourceadditionalColumns - the additionalColumns value to set.public SqlSource withSourceRetryCount(Object sourceRetryCount)
withSourceRetryCount in class TabularSourcesourceRetryCount - the sourceRetryCount value to set.public SqlSource withSourceRetryWait(Object sourceRetryWait)
withSourceRetryWait in class TabularSourcesourceRetryWait - the sourceRetryWait value to set.public SqlSource withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class TabularSourcemaxConcurrentConnections - the maxConcurrentConnections value to set.public SqlSource withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class TabularSourcedisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class TabularSourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.