Package com.veeva.vault.sdk.api.query
Interface QueryResponse
Deprecated.
Represents the result of a query execution.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Deprecated.Retrieves the total number of results satisfying the query.Deprecated.Streams the query results in the native query format,QueryResult
.
-
Method Details
-
getResultCount
long getResultCount()Deprecated.Retrieves the total number of results satisfying the query.- Returns:
- the total number of results satisfying the query
-
streamResults
Stream<QueryResult> streamResults()Deprecated.Streams the query results in the native query format,QueryResult
.To traverse the stream results in the classic iterator model, use the returned stream's
BaseStream.iterator()
method.- Returns:
- the query results in the native query format
-
QueryService.query(String)