Interface QueryResponse


@Deprecated public interface QueryResponse
Deprecated.
as of 21R3.4, see QueryService.query(String)
Represents the result of a query execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    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