|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.query.backend.QueryHelper
public class QueryHelper
This is a TEMPORARY helper class that will be used to add the QueryInterceptor to the chain and provide Classes to Hibernate Search. This class needs to be instantiated before adding any objects into the Cache. Any objects added before this instantiation will not be indexed. This class must be instantiated only once however. However, only one instan This class WILL be removed once other hooks come into Infinispan for versions 4.1 etc.
Field Summary | |
---|---|
static String |
QUERY_ENABLED_PROPERTY
|
static String |
QUERY_INDEX_LOCAL_ONLY_PROPERTY
|
Constructor Summary | |
---|---|
QueryHelper(Cache cache,
Properties properties,
Class... classes)
Constructor that will take in 3 params and build the searchFactory for Hibernate Search. |
Method Summary | |
---|---|
Class[] |
getClasses()
Simple getter. |
Properties |
getProperties()
Simple getter. |
org.hibernate.search.engine.SearchFactoryImplementor |
getSearchFactory()
Simple getter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String QUERY_ENABLED_PROPERTY
public static final String QUERY_INDEX_LOCAL_ONLY_PROPERTY
Constructor Detail |
---|
public QueryHelper(Cache cache, Properties properties, Class... classes)
cache
- - the cache instance.properties
- - Properties
classes
- - the Class[] for Hibernate Search.Method Detail |
---|
public org.hibernate.search.engine.SearchFactoryImplementor getSearchFactory()
SearchFactoryImplementor
instance being used.public Class[] getClasses()
public Properties getProperties()
Properties
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |