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.commons.api.query.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
  • Field Summary

    Fields inherited from class org.infinispan.query.dsl.impl.BaseQuery

    hitCountAccuracy, local, maxResults, namedParameters, projection, queryFactory, queryString, startOffset, timeout
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.query.dsl.QueryResult<T>
     
    int
     
     
    int
     
    org.infinispan.protostream.SerializationContext
    Get the protobuf SerializationContext or null if we are not using protobuf.
    org.infinispan.commons.util.CloseableIterator<T>
     
     
    void
     
     

    Methods inherited from class org.infinispan.query.dsl.impl.BaseQuery

    entryIterator, getMaxResults, getParameters, getProjection, getQueryString, getStartOffset, hasProjections, hitCountAccuracy, hitCountAccuracy, 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 Details

    • resetQuery

      public void resetQuery()
      Specified by:
      resetQuery in class org.infinispan.query.dsl.impl.BaseQuery<T>
    • list

      public List<T> list()
    • execute

      public org.infinispan.query.dsl.QueryResult<T> execute()
    • executeStatement

      public int executeStatement()
      Specified by:
      executeStatement in interface org.infinispan.commons.api.query.Query<T>
      Overrides:
      executeStatement in class org.infinispan.query.dsl.impl.BaseQuery<T>
    • iterator

      public org.infinispan.commons.util.CloseableIterator<T> iterator()
    • getResultSize

      public int getResultSize()
    • getSerializationContext

      public org.infinispan.protostream.SerializationContext getSerializationContext()
      Get the protobuf SerializationContext or null if we are not using protobuf.
    • getCache

      public RemoteCache<?,?> getCache()
    • toString

      public String toString()
      Overrides:
      toString in class Object