public final class MongoDbV2Sink extends CopySink
| Constructor and Description |
|---|
MongoDbV2Sink() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
MongoDbV2Sink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
MongoDbV2Sink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
MongoDbV2Sink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
MongoDbV2Sink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
MongoDbV2Sink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
MongoDbV2Sink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
MongoDbV2Sink |
withWriteBehavior(Object writeBehavior)
Set the writeBehavior property: Specifies whether the document with same key to be overwritten (upsert) rather
than throw exception (insert).
|
Object |
writeBehavior()
Get the writeBehavior property: Specifies whether the document with same key to be overwritten (upsert) rather
than throw exception (insert).
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic Object writeBehavior()
public MongoDbV2Sink withWriteBehavior(Object writeBehavior)
writeBehavior - the writeBehavior value to set.public MongoDbV2Sink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public MongoDbV2Sink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public MongoDbV2Sink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public MongoDbV2Sink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public MongoDbV2Sink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public MongoDbV2Sink 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.