public final class JsonSink extends CopySink
| Constructor and Description |
|---|
JsonSink() |
| Modifier and Type | Method and Description |
|---|---|
JsonWriteSettings |
formatSettings()
Get the formatSettings property: Json format settings.
|
StoreWriteSettings |
storeSettings()
Get the storeSettings property: Json store settings.
|
void |
validate()
Validates the instance.
|
JsonSink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
JsonSink |
withFormatSettings(JsonWriteSettings formatSettings)
Set the formatSettings property: Json format settings.
|
JsonSink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
JsonSink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
JsonSink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
JsonSink |
withStoreSettings(StoreWriteSettings storeSettings)
Set the storeSettings property: Json store settings.
|
JsonSink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
JsonSink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic StoreWriteSettings storeSettings()
public JsonSink withStoreSettings(StoreWriteSettings storeSettings)
storeSettings - the storeSettings value to set.public JsonWriteSettings formatSettings()
public JsonSink withFormatSettings(JsonWriteSettings formatSettings)
formatSettings - the formatSettings value to set.public JsonSink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public JsonSink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public JsonSink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public JsonSink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public JsonSink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public JsonSink 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.