Class RemoteQuery<T>
- java.lang.Object
-
- org.infinispan.query.dsl.impl.BaseQuery<T>
-
- org.infinispan.client.hotrod.impl.query.RemoteQuery<T>
-
- All Implemented Interfaces:
Iterable<T>,org.infinispan.query.dsl.PaginationContext<org.infinispan.query.dsl.Query<T>>,org.infinispan.query.dsl.ParameterContext<org.infinispan.query.dsl.Query<T>>,org.infinispan.query.dsl.Query<T>
public final class RemoteQuery<T> extends org.infinispan.query.dsl.impl.BaseQuery<T>- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.query.dsl.QueryResult<T>execute()intexecuteStatement()RemoteCache<?,?>getCache()intgetResultSize()org.infinispan.protostream.SerializationContextgetSerializationContext()Get the protobuf SerializationContext ornullif we are not using protobuf.org.infinispan.commons.util.CloseableIterator<T>iterator()List<T>list()voidresetQuery()StringtoString()-
Methods inherited from class org.infinispan.query.dsl.impl.BaseQuery
entryIterator, getMaxResults, getParameters, getProjection, getQueryString, getStartOffset, hasProjections, isLocal, local, maxResults, setParameter, setParameters, startOffset, timeout, validateNamedParameters
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
resetQuery
public void resetQuery()
- Specified by:
resetQueryin classorg.infinispan.query.dsl.impl.BaseQuery<T>
-
execute
public org.infinispan.query.dsl.QueryResult<T> execute()
-
executeStatement
public int executeStatement()
-
iterator
public org.infinispan.commons.util.CloseableIterator<T> iterator()
-
getResultSize
public int getResultSize()
-
getSerializationContext
public org.infinispan.protostream.SerializationContext getSerializationContext()
Get the protobuf SerializationContext ornullif we are not using protobuf.
-
getCache
public RemoteCache<?,?> getCache()
-
-