Class RemoteQueryFactory
- java.lang.Object
-
- org.infinispan.query.dsl.impl.BaseQueryFactory
-
- org.infinispan.client.hotrod.impl.query.RemoteQueryFactory
-
- All Implemented Interfaces:
QueryFactory
public final class RemoteQueryFactory extends BaseQueryFactory
- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description RemoteQueryFactory(InternalRemoteCache<?,?> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Query<T>create(String queryString)Creates a Query based on an Ickle query string.QueryBuilderfrom(Class<?> entityType)Creates a QueryBuilder for the given entity type.QueryBuilderfrom(String entityType)Creates a QueryBuilder for the given entity type.-
Methods inherited from class org.infinispan.query.dsl.impl.BaseQueryFactory
having, having, not, not
-
-
-
-
Constructor Detail
-
RemoteQueryFactory
public RemoteQueryFactory(InternalRemoteCache<?,?> cache)
-
-
Method Detail
-
create
public <T> Query<T> create(String queryString)
Description copied from interface:QueryFactoryCreates a Query based on an Ickle query string.- Returns:
- a query
-
from
public QueryBuilder from(Class<?> entityType)
Description copied from interface:QueryFactoryCreates a QueryBuilder for the given entity type.- Parameters:
entityType- the Class of the entity- Returns:
- a builder capable of creating queries for the specified entity type
-
from
public QueryBuilder from(String entityType)
Description copied from interface:QueryFactoryCreates a QueryBuilder for the given entity type.- Parameters:
entityType- fully qualified entity type name- Returns:
- a builder capable of creating queries for the specified entity type
-
-