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