Class QueryResponse
- java.lang.Object
-
- org.infinispan.query.remote.client.QueryResponse
-
- All Implemented Interfaces:
BaseQueryResponse
@SerializeWith(QueryResponseExternalizer.class) public final class QueryResponse extends Object implements BaseQueryResponse
- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description QueryResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>extractResults(org.infinispan.protostream.SerializationContext serializationContext)intgetNumResults()intgetProjectionSize()List<org.infinispan.protostream.WrappedMessage>getResults()longgetTotalResults()voidsetNumResults(int numResults)voidsetProjectionSize(int projectionSize)voidsetResults(List<org.infinispan.protostream.WrappedMessage> results)voidsetTotalResults(long totalResults)
-
-
-
Method Detail
-
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:
extractResultsin interfaceBaseQueryResponse- Throws:
IOException
-
getTotalResults
public long getTotalResults()
- Specified by:
getTotalResultsin interfaceBaseQueryResponse
-
setTotalResults
public void setTotalResults(long totalResults)
-
-