Class QueryResponse

java.lang.Object
org.infinispan.query.remote.client.impl.QueryResponse
All Implemented Interfaces:
BaseQueryResponse

@SerializeWith(QueryResponseExternalizer.class) public final class QueryResponse extends Object implements BaseQueryResponse
Since:
6.0
Author:
anistor@redhat.com
  • Constructor Details

    • QueryResponse

      public QueryResponse()
  • Method Details

    • getNumResults

      public int getNumResults()
    • setNumResults

      public void setNumResults(int numResults)
    • getProjectionSize

      public int getProjectionSize()
    • setProjectionSize

      public void setProjectionSize(int projectionSize)
    • getResults

      public List<org.infinispan.protostream.WrappedMessage> getResults()
    • setResults

      public void setResults(List<org.infinispan.protostream.WrappedMessage> results)
    • extractResults

      public List<?> extractResults(org.infinispan.protostream.SerializationContext serializationContext) throws IOException
      Specified by:
      extractResults in interface BaseQueryResponse
      Throws:
      IOException
    • getTotalResults

      public long getTotalResults()
      Specified by:
      getTotalResults in interface BaseQueryResponse
    • setTotalResults

      public void setTotalResults(long totalResults)