AsyncDocumentClient.queryDocuments Method

Definition

Overloads

queryDocuments(String collectionLink, SqlQuerySpec querySpec, FeedOptions options)

Query for documents in a document collection.

After subscription the operation will be performed. The Observable will contain one or several feed response of the obtained documents. In case of failure the Observable will error.

queryDocuments(String collectionLink, String query, FeedOptions options)

Query for documents in a document collection.

After subscription the operation will be performed. The Observable will contain one or several feed response of the obtained documents. In case of failure the Observable will error.

queryDocuments(String collectionLink, SqlQuerySpec querySpec, FeedOptions options)

Query for documents in a document collection.

After subscription the operation will be performed. The Observable will contain one or several feed response of the obtained documents. In case of failure the Observable will error.

public Observable<FeedResponse<Document>> queryDocuments(String collectionLink, SqlQuerySpec querySpec, FeedOptions options)

Parameters

collectionLink
String

the link to the parent document collection.

querySpec
SqlQuerySpec

the SQL query specification.

options
FeedOptions

the feed options.

Returns

Observable<FeedResponse<Document>>

an Observable containing one or several feed response pages of the obtained documents or an error.

queryDocuments(String collectionLink, String query, FeedOptions options)

Query for documents in a document collection.

After subscription the operation will be performed. The Observable will contain one or several feed response of the obtained documents. In case of failure the Observable will error.

public Observable<FeedResponse<Document>> queryDocuments(String collectionLink, String query, FeedOptions options)

Parameters

collectionLink
String

the link to the parent document collection.

query
String

the query.

options
FeedOptions

the feed options.

Returns

Observable<FeedResponse<Document>>

an Observable containing one or several feed response pages of the obtained document or an error.

Applies to