public class IndexFactoryBean extends Object implements InitializingBean, FactoryBean<com.gemstone.gemfire.cache.query.Index>, BeanNameAware
InitializingBean
,
BeanNameAware
,
FactoryBean
,
RegionService
,
Index
,
QueryService
Constructor and Description |
---|
IndexFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
com.gemstone.gemfire.cache.query.Index |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanName(String name) |
void |
setCache(com.gemstone.gemfire.cache.RegionService cache)
Sets the underlying cache used for creating indexes.
|
void |
setExpression(String expression) |
void |
setFrom(String from) |
void |
setImports(String imports) |
void |
setName(String name) |
void |
setOverride(boolean override) |
void |
setQueryService(com.gemstone.gemfire.cache.query.QueryService service)
Sets the query service used for creating indexes.
|
void |
setType(IndexType indexType)
Sets the type of GemFire Index to create.
|
void |
setType(String type) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public com.gemstone.gemfire.cache.query.Index getObject()
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.query.Index>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.query.Index>
public boolean isSingleton()
isSingleton
in interface FactoryBean<com.gemstone.gemfire.cache.query.Index>
public void setCache(com.gemstone.gemfire.cache.RegionService cache)
cache
- cache used for creating indexes.public void setQueryService(com.gemstone.gemfire.cache.query.QueryService service)
service
- query service used for creating indexes.public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setName(String name)
name
- the name to setpublic void setExpression(String expression)
expression
- the expression to setpublic void setFrom(String from)
from
- the from to setpublic void setImports(String imports)
imports
- the imports to setpublic void setType(String type)
type
- the type to setpublic void setType(IndexType indexType)
indexType
- the IndexType enumerated value indicating the type of GemFire Index
that will be created by this Spring FactoryBean.IndexType
public void setOverride(boolean override)
override
- the override to set