public final class FeedOptions extends FeedOptionsBase
Constructor and Description |
---|
FeedOptions() |
FeedOptions(FeedOptions options) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getEmitVerboseTracesInQuery()
Gets the option to allow queries to emit out verbose traces for
investigation.
|
Boolean |
getEnableCrossPartitionQuery()
Gets the option to allow queries to run across all partitions of the
collection.
|
Boolean |
getEnableScanInQuery()
Gets the option to allow scan on the queries which couldn't be served as
indexing was opted out on the requested paths.
|
int |
getMaxBufferedItemCount()
Gets the maximum number of items that can be buffered client side during
parallel query execution.
|
int |
getMaxDegreeOfParallelism()
Gets the number of concurrent operations run client side during parallel
query execution.
|
String |
getPartitionKeyRangeIdInternal()
Gets the partitionKeyRangeId.
|
String |
getSessionToken()
Gets the session token for use with session consistency.
|
void |
setEmitVerboseTracesInQuery(Boolean emitVerboseTracesInQuery)
Sets the option to allow queries to emit out verbose traces for
investigation.
|
void |
setEnableCrossPartitionQuery(Boolean enableCrossPartitionQuery)
Sets the option to allow queries to run across all partitions of the
collection.
|
void |
setEnableScanInQuery(Boolean enableScanInQuery)
Sets the option to allow scan on the queries which couldn't be served as
indexing was opted out on the requested paths.
|
void |
setMaxBufferedItemCount(int maxBufferedItemCount)
Sets the maximum number of items that can be buffered client side during
parallel query execution.
|
void |
setMaxDegreeOfParallelism(int maxDegreeOfParallelism)
Sets the number of concurrent operations run client side during parallel
query execution.
|
void |
setPartitionKeyRangeIdInternal(String partitionKeyRangeId)
Sets the partitionKeyRangeId.
|
void |
setSessionToken(String sessionToken)
Sets the session token for use with session consistency.
|
getMaxItemCount, getPartitionKey, getRequestContinuation, setMaxItemCount, setPartitionKey, setRequestContinuation
public FeedOptions()
public FeedOptions(FeedOptions options)
public String getPartitionKeyRangeIdInternal()
public void setPartitionKeyRangeIdInternal(String partitionKeyRangeId)
partitionKeyRangeId
- the partitionKeyRangeId.public String getSessionToken()
public void setSessionToken(String sessionToken)
sessionToken
- the session token.public Boolean getEnableScanInQuery()
public void setEnableScanInQuery(Boolean enableScanInQuery)
enableScanInQuery
- the option of enable scan in query.public Boolean getEmitVerboseTracesInQuery()
public void setEmitVerboseTracesInQuery(Boolean emitVerboseTracesInQuery)
emitVerboseTracesInQuery
- the emit verbose traces in query.public Boolean getEnableCrossPartitionQuery()
public void setEnableCrossPartitionQuery(Boolean enableCrossPartitionQuery)
enableCrossPartitionQuery
- whether to allow queries to run across all partitions of the
collection.public int getMaxDegreeOfParallelism()
public void setMaxDegreeOfParallelism(int maxDegreeOfParallelism)
maxDegreeOfParallelism
- number of concurrent operations.public int getMaxBufferedItemCount()
public void setMaxBufferedItemCount(int maxBufferedItemCount)
maxBufferedItemCount
- maximum number of items.Copyright © 2018. All rights reserved.