Class ProjectingLuceneAccessor
java.lang.Object
org.springframework.data.gemfire.search.lucene.support.LuceneOperationsSupport
org.springframework.data.gemfire.search.lucene.LuceneAccessor
org.springframework.data.gemfire.search.lucene.support.LuceneAccessorSupport
org.springframework.data.gemfire.search.lucene.LuceneTemplate
org.springframework.data.gemfire.search.lucene.ProjectingLuceneAccessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.InitializingBean
,LuceneOperations
,ProjectingLuceneOperations
- Direct Known Subclasses:
ProjectingLuceneAccessorSupport
,ProjectingLuceneTemplate
public abstract class ProjectingLuceneAccessor
extends LuceneTemplate
implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, ProjectingLuceneOperations
Deprecated.
To be removed in GemFire 10 integration
ProjectingLuceneAccessor
is an abstract class supporting implementations of
the ProjectingLuceneOperations
interface encapsulating common functionality
necessary to execute Lucene queries and work with application domain object views.- Since:
- 1.1.0
- See Also:
-
ClassLoader
BeanClassLoaderAware
BeanFactory
BeanFactoryAware
ProjectingLuceneOperations
PdxInstanceMethodInterceptorFactory
ProjectionFactory
SpelAwareProxyProjectionFactory
Region
LuceneIndex
LuceneQuery
LuceneQueryFactory
LuceneService
LuceneServiceProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.search.lucene.LuceneAccessor
LuceneAccessor.LuceneQueryExecutor<T>
-
Field Summary
Fields inherited from interface org.springframework.data.gemfire.search.lucene.LuceneOperations
DEFAULT_PAGE_SIZE, DEFAULT_RESULT_LIMIT
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs a default, uninitialized instance of theProjectingLuceneAccessor
.ProjectingLuceneAccessor
(String indexName, String regionPath) Deprecated.Constructs an instance of theProjectingLuceneAccessor
initialized with the given Lucene index name andRegion
reference upon which Lucene queries are executed.ProjectingLuceneAccessor
(String indexName, org.apache.geode.cache.Region<?, ?> region) Deprecated.Constructs an instance of theProjectingLuceneAccessor
initialized with the given Lucene index name andRegion
reference upon which Lucene queries are executed.ProjectingLuceneAccessor
(org.apache.geode.cache.lucene.LuceneIndex luceneIndex) Deprecated.Constructs an instance of theProjectingLuceneAccessor
initialized with the givenLuceneIndex
used to perform Lucene queries (searches). -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.protected ClassLoader
Deprecated.Returns a reference to theClassLoader
used by the Springcontainer
to load bean class definitions.protected org.springframework.beans.factory.BeanFactory
Deprecated.Returns a reference to the Springcontainer
.protected org.springframework.data.projection.ProjectionFactory
Deprecated.Returns the Spring DataProjectionFactory
used to create projections out of query results.<T> T
Deprecated.<T,
K, V> List<T> project
(List<org.apache.geode.cache.lucene.LuceneResultStruct<K, V>> source, Class<T> projectionType) Deprecated.<T,
K, V> T Deprecated.protected org.springframework.data.projection.ProjectionFactory
Deprecated.Null-safe method to resolve the Spring DataProjectionFactory
used to create projections out of the Lucene query results.void
setBeanClassLoader
(ClassLoader beanClassLoader) Deprecated.void
setBeanFactory
(org.springframework.beans.factory.BeanFactory beanFactory) Deprecated.void
setProjectionFactory
(org.springframework.data.projection.ProjectionFactory projectionFactory) Deprecated.Sets the Spring DataProjectionFactory
used to create projections out of query results.protected org.springframework.data.projection.ProjectionFactory
setThenGetProjectionFactory
(org.springframework.data.projection.ProjectionFactory projectionFactory) Deprecated.Methods inherited from class org.springframework.data.gemfire.search.lucene.LuceneTemplate
query, query, query, query, queryForKeys, queryForKeys, queryForValues, queryForValues
Methods inherited from class org.springframework.data.gemfire.search.lucene.LuceneAccessor
createLuceneQueryFactory, createLuceneQueryFactory, createLuceneQueryFactory, doFind, getCache, getIndexName, getLuceneIndex, getLuceneService, getRegion, getRegionPath, resolveCache, resolveIndexName, resolveLuceneService, resolveLuceneService, resolveRegionPath, setCache, setIndexName, setLuceneIndex, setLuceneService, setRegion, setRegionPath
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.gemfire.search.lucene.LuceneOperations
query, query, query, query, query, query, queryForKeys, queryForKeys, queryForKeys, queryForKeys, queryForValues, queryForValues, queryForValues, queryForValues
-
Constructor Details
-
ProjectingLuceneAccessor
public ProjectingLuceneAccessor()Deprecated.Constructs a default, uninitialized instance of theProjectingLuceneAccessor
. -
ProjectingLuceneAccessor
public ProjectingLuceneAccessor(org.apache.geode.cache.lucene.LuceneIndex luceneIndex) Deprecated.Constructs an instance of theProjectingLuceneAccessor
initialized with the givenLuceneIndex
used to perform Lucene queries (searches).- Parameters:
luceneIndex
-LuceneIndex
used in Lucene queries.- See Also:
-
LuceneIndex
-
ProjectingLuceneAccessor
Deprecated.Constructs an instance of theProjectingLuceneAccessor
initialized with the given Lucene index name andRegion
reference upon which Lucene queries are executed.- Parameters:
indexName
-String
containing the name of theLuceneIndex
used in Lucene queries.region
-Region
on which Lucene queries are executed.- See Also:
-
Region
-
ProjectingLuceneAccessor
Deprecated.Constructs an instance of theProjectingLuceneAccessor
initialized with the given Lucene index name andRegion
reference upon which Lucene queries are executed.
-
-
Method Details
-
afterPropertiesSet
Deprecated.- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classLuceneAccessor
- Throws:
Exception
-
resolveProjectionFactory
protected org.springframework.data.projection.ProjectionFactory resolveProjectionFactory()Deprecated.Null-safe method to resolve the Spring DataProjectionFactory
used to create projections out of the Lucene query results.- Returns:
- a resolved instance of the Spring Data
ProjectionFactory
used to create projections out of the Lucene query results. - See Also:
-
ProjectionFactory
SpelAwareProxyProjectionFactory
afterPropertiesSet()
-
setBeanClassLoader
Deprecated.- Specified by:
setBeanClassLoader
in interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
getBeanClassLoader
Deprecated.Returns a reference to theClassLoader
used by the Springcontainer
to load bean class definitions.- Returns:
- a reference to the
ClassLoader
used by the Springcontainer
to load bean class definitions. - See Also:
-
BeanClassLoaderAware.setBeanClassLoader(ClassLoader)
ClassLoader
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException Deprecated.- Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()Deprecated.Returns a reference to the Springcontainer
.- Returns:
- a reference to the Spring
container
. - See Also:
-
BeanFactoryAware.setBeanFactory(BeanFactory)
BeanFactory
-
setThenGetProjectionFactory
protected org.springframework.data.projection.ProjectionFactory setThenGetProjectionFactory(org.springframework.data.projection.ProjectionFactory projectionFactory) Deprecated. -
setProjectionFactory
public void setProjectionFactory(org.springframework.data.projection.ProjectionFactory projectionFactory) Deprecated.Sets the Spring DataProjectionFactory
used to create projections out of query results.- Parameters:
projectionFactory
- Spring DataProjectionFactory
used to created projects out of query results.- See Also:
-
ProjectionFactory
-
getProjectionFactory
protected org.springframework.data.projection.ProjectionFactory getProjectionFactory()Deprecated.Returns the Spring DataProjectionFactory
used to create projections out of query results.- Returns:
- the Spring Data
ProjectionFactory
used to created projects out of query results. - See Also:
-
ProjectionFactory
-
project
public <T,K, List<T> projectV> (List<org.apache.geode.cache.lucene.LuceneResultStruct<K, V>> source, Class<T> projectionType) Deprecated. -
project
public <T,K, T projectV> (org.apache.geode.cache.lucene.LuceneResultStruct<K, V> source, Class<T> projectionType) Deprecated. -
project
Deprecated.
-