public final class CosmosDbMongoDbApiSource extends CopySource
| Constructor and Description |
|---|
CosmosDbMongoDbApiSource() |
| Modifier and Type | Method and Description |
|---|---|
List<AdditionalColumns> |
additionalColumns()
Get the additionalColumns property: Specifies the additional columns to be added to source data.
|
Object |
batchSize()
Get the batchSize property: Specifies the number of documents to return in each batch of the response from
MongoDB instance.
|
MongoDbCursorMethodsProperties |
cursorMethods()
Get the cursorMethods property: Cursor methods for Mongodb query.
|
Object |
filter()
Get the filter property: Specifies selection filter using query operators.
|
Object |
queryTimeout()
Get the queryTimeout property: Query timeout.
|
void |
validate()
Validates the instance.
|
CosmosDbMongoDbApiSource |
withAdditionalColumns(List<AdditionalColumns> additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data.
|
CosmosDbMongoDbApiSource |
withBatchSize(Object batchSize)
Set the batchSize property: Specifies the number of documents to return in each batch of the response from
MongoDB instance.
|
CosmosDbMongoDbApiSource |
withCursorMethods(MongoDbCursorMethodsProperties cursorMethods)
Set the cursorMethods property: Cursor methods for Mongodb query.
|
CosmosDbMongoDbApiSource |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
CosmosDbMongoDbApiSource |
withFilter(Object filter)
Set the filter property: Specifies selection filter using query operators.
|
CosmosDbMongoDbApiSource |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.
|
CosmosDbMongoDbApiSource |
withQueryTimeout(Object queryTimeout)
Set the queryTimeout property: Query timeout.
|
CosmosDbMongoDbApiSource |
withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count.
|
CosmosDbMongoDbApiSource |
withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sourceRetryCount, sourceRetryWait, withAdditionalPropertiespublic Object filter()
public CosmosDbMongoDbApiSource withFilter(Object filter)
filter - the filter value to set.public MongoDbCursorMethodsProperties cursorMethods()
public CosmosDbMongoDbApiSource withCursorMethods(MongoDbCursorMethodsProperties cursorMethods)
cursorMethods - the cursorMethods value to set.public Object batchSize()
public CosmosDbMongoDbApiSource withBatchSize(Object batchSize)
batchSize - the batchSize value to set.public Object queryTimeout()
public CosmosDbMongoDbApiSource withQueryTimeout(Object queryTimeout)
queryTimeout - the queryTimeout value to set.public List<AdditionalColumns> additionalColumns()
public CosmosDbMongoDbApiSource withAdditionalColumns(List<AdditionalColumns> additionalColumns)
additionalColumns - the additionalColumns value to set.public CosmosDbMongoDbApiSource withSourceRetryCount(Object sourceRetryCount)
withSourceRetryCount in class CopySourcesourceRetryCount - the sourceRetryCount value to set.public CosmosDbMongoDbApiSource withSourceRetryWait(Object sourceRetryWait)
withSourceRetryWait in class CopySourcesourceRetryWait - the sourceRetryWait value to set.public CosmosDbMongoDbApiSource withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySourcemaxConcurrentConnections - the maxConcurrentConnections value to set.public CosmosDbMongoDbApiSource withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class CopySourcedisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class CopySourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.