| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.search.query.QueryManagerBuilder
public final class QueryManagerBuilder
A Query Manager builder providing methods to add caches which
 can be queried.
 The Query Manager instance returned by this builder can be used to execute
 search queries expressed as Big Memory Structured Query Language (BMSQL) statements.
| Method Summary | |
|---|---|
 QueryManagerBuilder | 
addAllCachesCurrentlyIn(CacheManager cacheManager)
Adds all Caches present in a Cache Manager to
 the internal state of the query manager. | 
 QueryManagerBuilder | 
addCache(Ehcache cache)
Adds a Cache to the internal state and allows it to be used as a target in a
 BMSQL statement's FROM clause. | 
 QueryManager | 
build()
Returns a new Query Manager using the options supplied during the building
 process. | 
static QueryManagerBuilder | 
newQueryManagerBuilder()
Creates a new Query Manager builder. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static QueryManagerBuilder newQueryManagerBuilder()
Query Manager builder.
public QueryManagerBuilder addCache(Ehcache cache)
Cache to the internal state and allows it to be used as a target in a
 BMSQL statement's FROM clause.
cache - a cache instance to be added
public QueryManagerBuilder addAllCachesCurrentlyIn(CacheManager cacheManager)
Caches present in a Cache Manager to
 the internal state of the query manager.
 The added caches can be used in a BMSQL statement's FROM clause.
cacheManager - a Cache Manager whose
                     caches need to be added
public QueryManager build()
Query Manager using the options supplied during the building
 process.
Query Manager
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||