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)
int
getNumResults()
int
getProjectionSize()
List<org.infinispan.protostream.WrappedMessage>
getResults()
long
getTotalResults()
void
setNumResults(int numResults)
void
setProjectionSize(int projectionSize)
void
setResults(List<org.infinispan.protostream.WrappedMessage> results)
void
setTotalResults(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:
extractResults
in interfaceBaseQueryResponse
- Throws:
IOException
-
getTotalResults
public long getTotalResults()
- Specified by:
getTotalResults
in interfaceBaseQueryResponse
-
setTotalResults
public void setTotalResults(long totalResults)
-
-