Uses of Interface
org.infinispan.query.CacheQuery

Packages that use CacheQuery
org.infinispan.query   
org.infinispan.query.clustered   
org.infinispan.query.impl   
 

Uses of CacheQuery in org.infinispan.query
 

Methods in org.infinispan.query that return CacheQuery
 CacheQuery CacheQuery.disableFullTextFilter(String name)
          Disable a given filter by its name.
 CacheQuery CacheQuery.filter(org.apache.lucene.search.Filter f)
          Allows lucene to filter the results.
 CacheQuery CacheQuery.firstResult(int index)
          Sets a result with a given index to the first result.
 CacheQuery SearchManager.getClusteredQuery(org.apache.lucene.search.Query luceneQuery, Class<?>... classes)
          Experimental! Use it to try out the newly introduced distributed queries.
 CacheQuery SearchManager.getQuery(org.apache.lucene.search.Query luceneQuery, Class<?>... classes)
          This is a simple method that will just return a CacheQuery, filtered according to a set of classes passed in.
 CacheQuery CacheQuery.maxResults(int numResults)
          Sets the maximum number of results to the number passed in as a parameter.
 CacheQuery CacheQuery.projection(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"

A projectable field must be stored in the Lucene index and use a org.hibernate.search.bridge.TwoWayFieldBridge Unless notified in their JavaDoc, all built-in bridges are two-way.

 CacheQuery CacheQuery.sort(org.apache.lucene.search.Sort s)
          Allows lucene to sort the results.
 

Uses of CacheQuery in org.infinispan.query.clustered
 

Classes in org.infinispan.query.clustered that implement CacheQuery
 class ClusteredCacheQueryImpl
          A extension of CacheQueryImpl used for distributed queries.
 

Methods in org.infinispan.query.clustered that return CacheQuery
 CacheQuery ClusteredCacheQueryImpl.sort(org.apache.lucene.search.Sort sort)
           
 

Uses of CacheQuery in org.infinispan.query.impl
 

Classes in org.infinispan.query.impl that implement CacheQuery
 class CacheQueryImpl
          Implementation class of the CacheQuery interface.
 

Methods in org.infinispan.query.impl that return CacheQuery
 CacheQuery CacheQueryImpl.disableFullTextFilter(String name)
          Disable a given filter by its name.
 CacheQuery CacheQueryImpl.filter(org.apache.lucene.search.Filter filter)
          Takes in a lucene filter and sets it to the filter field in the class.
 CacheQuery CacheQueryImpl.firstResult(int firstResult)
          Sets the the result of the given integer value to the first result.
 CacheQuery CacheQueryImpl.maxResults(int maxResults)
           
 CacheQuery CacheQueryImpl.projection(String... fields)
           
 CacheQuery CacheQueryImpl.sort(org.apache.lucene.search.Sort sort)
           
 


-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.