Uses of Interface
org.infinispan.query.CacheQuery
-
Packages that use CacheQuery Package Description org.infinispan.query Query API.org.infinispan.query.clustered org.infinispan.query.impl org.infinispan.query.spi -
-
Uses of CacheQuery in org.infinispan.query
Methods in org.infinispan.query that return CacheQuery Modifier and Type Method Description CacheQuery<E>
CacheQuery. disableFullTextFilter(java.lang.String name)
Disable a given filter by its name.CacheQuery<E>
CacheQuery. filter(org.apache.lucene.search.Filter f)
Allows lucene to filter the results.CacheQuery<E>
CacheQuery. firstResult(int index)
Sets a result with a given index to the first result.<E> CacheQuery<E>
SearchManager. getClusteredQuery(org.apache.lucene.search.Query luceneQuery, java.lang.Class<?>... classes)
Deprecated.since 9.2, to be removed in 10.0; equivalent togetQuery(luceneQuery, IndexedQueryMode.BROADCAST, classes)
<E> CacheQuery<E>
SearchManager. getQuery(java.lang.String queryString, IndexedQueryMode indexedQueryMode, java.lang.Class<?>... classes)
Builds aCacheQuery
from an Ickle query string.<E> CacheQuery<E>
SearchManager. getQuery(org.apache.lucene.search.Query luceneQuery, java.lang.Class<?>... classes)
<E> CacheQuery<E>
SearchManager. getQuery(org.apache.lucene.search.Query luceneQuery, IndexedQueryMode indexedQueryMode, java.lang.Class<?>... classes)
This is a simple method that will just return aCacheQuery
, filtered according to a set of classes passed in.CacheQuery<E>
CacheQuery. maxResults(int numResults)
Sets the maximum number of results to the number passed in as a parameter.CacheQuery<java.lang.Object[]>
CacheQuery. projection(java.lang.String... fields)
Defines the Lucene field names projected and returned in a query result Each field is converted back to it's object representation, an Object[] being returned for each "row"CacheQuery<E>
CacheQuery. sort(org.apache.lucene.search.Sort s)
Allows lucene to sort the results.CacheQuery<E>
CacheQuery. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit)
Set the timeout for this query. -
Uses of CacheQuery in org.infinispan.query.clustered
Classes in org.infinispan.query.clustered that implement CacheQuery Modifier and Type Class Description class
ClusteredCacheQueryImpl<E>
An extension of CacheQueryImpl used for distributed queries.Methods in org.infinispan.query.clustered that return CacheQuery Modifier and Type Method Description CacheQuery<E>
ClusteredCacheQueryImpl. firstResult(int firstResult)
CacheQuery<E>
ClusteredCacheQueryImpl. maxResults(int maxResults)
CacheQuery<E>
ClusteredCacheQueryImpl. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit)
-
Uses of CacheQuery in org.infinispan.query.impl
Classes in org.infinispan.query.impl with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw CacheQuery Modifier and Type Class Description class
org.infinispan.query.impl.CacheQueryImpl<E>
Implementation class of the CacheQuery interface. -
Uses of CacheQuery in org.infinispan.query.spi
Methods in org.infinispan.query.spi that return CacheQuery Modifier and Type Method Description <E> CacheQuery<E>
SearchManagerImplementor. getQuery(org.infinispan.query.impl.QueryDefinition queryDefinition, IndexedQueryMode indexedQueryMode, org.hibernate.search.spi.IndexedTypeMap<org.hibernate.search.spi.CustomTypeMetadata> indexedTypeMap)
Creates a cache query based on aQueryDefinition
and a custom metadata.
-