JsonSink Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. CopySink - com.
azure. resourcemanager. datafactory. models. JsonSink
- com.
- com.
public final class JsonSink
extends CopySink
A copy activity Json sink.
Constructor Summary
Constructor | Description |
---|---|
JsonSink() |
Creates an instance of Json |
Method Summary
Modifier and Type | Method and Description |
---|---|
Json |
formatSettings()
Get the format |
Store |
storeSettings()
Get the store |
void |
validate()
Validates the instance. |
Json |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
Json |
withFormatSettings(JsonWriteSettings formatSettings)
Set the format |
Json |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
Json |
withSinkRetryCount(Object sinkRetryCount)
Set the sink |
Json |
withSinkRetryWait(Object sinkRetryWait)
Set the sink |
Json |
withStoreSettings(StoreWriteSettings storeSettings)
Set the store |
Json |
withWriteBatchSize(Object writeBatchSize)
Set the write |
Json |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the write |
Methods inherited from CopySink
Methods inherited from java.lang.Object
Constructor Details
JsonSink
public JsonSink()
Creates an instance of JsonSink class.
Method Details
formatSettings
public JsonWriteSettings formatSettings()
Get the formatSettings property: Json format settings.
Returns:
storeSettings
public StoreWriteSettings storeSettings()
Get the storeSettings property: Json store settings.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
JsonSink.validate()withDisableMetricsCollection
public JsonSink 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:
JsonSink.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withFormatSettings
public JsonSink withFormatSettings(JsonWriteSettings formatSettings)
Set the formatSettings property: Json format settings.
Parameters:
Returns:
withMaxConcurrentConnections
public JsonSink withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
Overrides:
JsonSink.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withSinkRetryCount
public JsonSink withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).
Overrides:
JsonSink.withSinkRetryCount(Object sinkRetryCount)Parameters:
withSinkRetryWait
public JsonSink withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
JsonSink.withSinkRetryWait(Object sinkRetryWait)Parameters:
withStoreSettings
public JsonSink withStoreSettings(StoreWriteSettings storeSettings)
Set the storeSettings property: Json store settings.
Parameters:
Returns:
withWriteBatchSize
public JsonSink withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
Overrides:
JsonSink.withWriteBatchSize(Object writeBatchSize)Parameters:
withWriteBatchTimeout
public JsonSink withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
JsonSink.withWriteBatchTimeout(Object writeBatchTimeout)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for