public final class SqlMISink extends CopySink
| Constructor and Description |
|---|
SqlMISink() |
| Modifier and Type | Method and Description |
|---|---|
Object |
preCopyScript()
Get the preCopyScript property: SQL pre-copy script.
|
Object |
sqlWriterStoredProcedureName()
Get the sqlWriterStoredProcedureName property: SQL writer stored procedure name.
|
Object |
sqlWriterTableType()
Get the sqlWriterTableType property: SQL writer table type.
|
Object |
sqlWriterUseTableLock()
Get the sqlWriterUseTableLock property: Whether to use table lock during bulk copy.
|
Map<String,StoredProcedureParameter> |
storedProcedureParameters()
Get the storedProcedureParameters property: SQL stored procedure parameters.
|
Object |
storedProcedureTableTypeParameterName()
Get the storedProcedureTableTypeParameterName property: The stored procedure parameter name of the table type.
|
Object |
tableOption()
Get the tableOption property: The option to handle sink table, such as autoCreate.
|
SqlUpsertSettings |
upsertSettings()
Get the upsertSettings property: SQL upsert settings.
|
void |
validate()
Validates the instance.
|
SqlMISink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
SqlMISink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
SqlMISink |
withPreCopyScript(Object preCopyScript)
Set the preCopyScript property: SQL pre-copy script.
|
SqlMISink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
SqlMISink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
SqlMISink |
withSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
Set the sqlWriterStoredProcedureName property: SQL writer stored procedure name.
|
SqlMISink |
withSqlWriterTableType(Object sqlWriterTableType)
Set the sqlWriterTableType property: SQL writer table type.
|
SqlMISink |
withSqlWriterUseTableLock(Object sqlWriterUseTableLock)
Set the sqlWriterUseTableLock property: Whether to use table lock during bulk copy.
|
SqlMISink |
withStoredProcedureParameters(Map<String,StoredProcedureParameter> storedProcedureParameters)
Set the storedProcedureParameters property: SQL stored procedure parameters.
|
SqlMISink |
withStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName)
Set the storedProcedureTableTypeParameterName property: The stored procedure parameter name of the table type.
|
SqlMISink |
withTableOption(Object tableOption)
Set the tableOption property: The option to handle sink table, such as autoCreate.
|
SqlMISink |
withUpsertSettings(SqlUpsertSettings upsertSettings)
Set the upsertSettings property: SQL upsert settings.
|
SqlMISink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
SqlMISink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
SqlMISink |
withWriteBehavior(Object writeBehavior)
Set the writeBehavior property: White behavior when copying data into azure SQL MI.
|
Object |
writeBehavior()
Get the writeBehavior property: White behavior when copying data into azure SQL MI.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic Object sqlWriterStoredProcedureName()
public SqlMISink withSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName)
sqlWriterStoredProcedureName - the sqlWriterStoredProcedureName value to set.public Object sqlWriterTableType()
public SqlMISink withSqlWriterTableType(Object sqlWriterTableType)
sqlWriterTableType - the sqlWriterTableType value to set.public Object preCopyScript()
public SqlMISink withPreCopyScript(Object preCopyScript)
preCopyScript - the preCopyScript value to set.public Map<String,StoredProcedureParameter> storedProcedureParameters()
public SqlMISink withStoredProcedureParameters(Map<String,StoredProcedureParameter> storedProcedureParameters)
storedProcedureParameters - the storedProcedureParameters value to set.public Object storedProcedureTableTypeParameterName()
public SqlMISink withStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName)
storedProcedureTableTypeParameterName - the storedProcedureTableTypeParameterName value to set.public Object tableOption()
public SqlMISink withTableOption(Object tableOption)
tableOption - the tableOption value to set.public Object sqlWriterUseTableLock()
public SqlMISink withSqlWriterUseTableLock(Object sqlWriterUseTableLock)
sqlWriterUseTableLock - the sqlWriterUseTableLock value to set.public Object writeBehavior()
public SqlMISink withWriteBehavior(Object writeBehavior)
writeBehavior - the writeBehavior value to set.public SqlUpsertSettings upsertSettings()
public SqlMISink withUpsertSettings(SqlUpsertSettings upsertSettings)
upsertSettings - the upsertSettings value to set.public SqlMISink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public SqlMISink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public SqlMISink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public SqlMISink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public SqlMISink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public SqlMISink withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class CopySinkdisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class CopySinkIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.