你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentQueryClientInternal Class

  • java.lang.Object
    • com.microsoft.azure.documentdb.DocumentQueryClientInternal

public final class DocumentQueryClientInternal

Provides methods to do query in the Azure Cosmos DB database service.

Constructor Summary

Constructor Description
DocumentQueryClientInternal(DocumentClient innerClient)

Method Summary

Modifier and Type Method and Description
com.microsoft.azure.documentdb.internal.DocumentServiceResponse doQuery(DocumentServiceRequest request)
com.microsoft.azure.documentdb.internal.DocumentServiceResponse doReadFeed(DocumentServiceRequest request)
com.microsoft.azure.documentdb.internal.routing.CollectionCache getCollectionCache()
java.util.concurrent.ExecutorService getExecutorService()
com.microsoft.azure.documentdb.internal.routing.RoutingMapProvider getPartitionKeyRangeCache()
com.microsoft.azure.documentdb.internal.QueryCompatibilityMode getQueryCompatiblityMode()
com.microsoft.azure.documentdb.internal.query.QueryPartitionProvider getQueryPartitionProvider()
FeedResponse<PartitionKeyRange> readPartitionKeyRanges(String collectionLink, FeedOptions options)
FeedResponse<PartitionKeyRange> readPartitionKeyRangesChangeFeed(String collectionLink, ChangeFeedOptions options)

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DocumentQueryClientInternal

public DocumentQueryClientInternal(DocumentClient innerClient)

Parameters:

innerClient

Method Details

doQuery

public DocumentServiceResponse doQuery(DocumentServiceRequest request)

Parameters:

request

Throws:

doReadFeed

public DocumentServiceResponse doReadFeed(DocumentServiceRequest request)

Parameters:

request

Throws:

getCollectionCache

public CollectionCache getCollectionCache()

getExecutorService

public ExecutorService getExecutorService()

getPartitionKeyRangeCache

public RoutingMapProvider getPartitionKeyRangeCache()

getQueryCompatiblityMode

public QueryCompatibilityMode getQueryCompatiblityMode()

getQueryPartitionProvider

public QueryPartitionProvider getQueryPartitionProvider()

readPartitionKeyRanges

public FeedResponse readPartitionKeyRanges(String collectionLink, FeedOptions options)

Parameters:

collectionLink
options

readPartitionKeyRangesChangeFeed

public FeedResponse readPartitionKeyRangesChangeFeed(String collectionLink, ChangeFeedOptions options)

Parameters:

collectionLink
options

Applies to