public class IndexConfiguration extends EntityDefinedRegionsConfiguration
IndexConfiguration class is a Spring ImportBeanDefinitionRegistrar
and extension of EntityDefinedRegionsConfiguration used in the EnableIndexing annotation
to dynamically create GemFire/Geode Region Indexes based on
GemfirePersistentEntity GemfirePersistentProperty annotations.Annotation,
Region,
LuceneIndex,
Index,
BeanDefinitionBuilder,
BeanDefinitionRegistry,
AnnotationMetadata,
Id,
IndexFactoryBean,
IndexType,
EnableIndexing,
EntityDefinedRegionsConfiguration,
GemfirePersistentEntity,
GemfirePersistentProperty,
Indexed,
LuceneIndexed,
LuceneIndexFactoryBeanEntityDefinedRegionsConfiguration.RegionBeanDefinitionMetadataAbstractAnnotationConfigSupport.TypeResolver<T>DEFAULT_CLIENT_REGION_SHORTCUT, DEFAULT_SERVER_REGION_SHORTCUTCURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX| Constructor and Description |
|---|
IndexConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends Annotation> |
getEnableIndexingAnnotationType()
Returns the
Annotation type that configures and creates Region Indexes
from application persistent entity properties. |
protected String |
getEnableIndexingAnnotationTypeName()
Returns the name of the
Annotation type that configures and creates Region Indexes
from application persistent entity properties. |
protected String |
getEnableIndexingAnnotationTypeSimpleName()
Returns the simple name of the
Annotation type that configures and creates Region
Indexes from application persistent entity properties. |
protected GemfirePersistentEntity<?> |
postProcess(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry,
GemfirePersistentEntity<?> persistentEntity)
Performs addition post processing on the
GemfirePersistentEntity to offer additional feature support
(e.g. dynamic Index creation). |
protected void |
registerIndexBeanDefinition(AnnotationAttributes enableIndexingAttributes,
GemfirePersistentEntity<?> persistentEntity,
GemfirePersistentProperty persistentProperty,
IndexType indexType,
Annotation indexAnnotation,
BeanDefinitionRegistry registry)
Registers an Index of the given
IndexType for the GemfirePersistentProperty
on the GemfirePersistentEntity using the Annotation meta-data to define the Index. |
protected void |
registerLuceneIndexBeanDefinition(AnnotationAttributes enableIndexingAttributes,
GemfirePersistentEntity<?> persistentEntity,
GemfirePersistentProperty persistentProperty,
Annotation luceneIndexAnnotation,
BeanDefinitionRegistry registry)
Registers a
LuceneIndex for the GemfirePersistentProperty on the GemfirePersistentEntity
using the Annotation meta-data to define the Index. |
getAnnotationType, getPersistentEntity, newGemFireComponentClassTypeScanner, registerBeanDefinitions, registerRegionBeanDefinition, resolveBasePackages, resolveClientRegionShortcut, resolveExcludes, resolveIncludes, resolveMappingContext, resolveRegionAnnotatedPersistentEntityTypeFilters, resolveRegionConfigurers, resolveServerRegionShortcut, setClientRegionAttributes, setFixedPartitionRegionAttributes, setPartitionRegionAttributes, setRegionAttributes, setReplicateRegionAttributesarrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLogger, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLogger, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterBeanDefinitionsprotected Class<? extends Annotation> getEnableIndexingAnnotationType()
Annotation type that configures and creates Region Indexes
from application persistent entity properties.Annotation type that configures and creates Region Indexes
from application persistent entity properties.EnableIndexing,
Annotation,
Classprotected String getEnableIndexingAnnotationTypeName()
Annotation type that configures and creates Region Indexes
from application persistent entity properties.Annotation type that configures and creates Region
Indexes from application persistent entity properties.getEnableIndexingAnnotationType(),
Class.getName()protected String getEnableIndexingAnnotationTypeSimpleName()
Annotation type that configures and creates Region
Indexes from application persistent entity properties.Annotation type that configures and creates
Region Indexes from application persistent entity properties.getEnableIndexingAnnotationType(),
Class.getSimpleName()protected GemfirePersistentEntity<?> postProcess(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry, GemfirePersistentEntity<?> persistentEntity)
EntityDefinedRegionsConfigurationGemfirePersistentEntity to offer additional feature support
(e.g. dynamic Index creation).postProcess in class EntityDefinedRegionsConfigurationimportingClassMetadata - AnnotationMetadata for the importing application class.registry - BeanDefinitionRegistry used to register Spring bean definitions.persistentEntity - GemfirePersistentEntity to process.GemfirePersistentEntity.BeanDefinitionRegistry,
AnnotationMetadata,
GemfirePersistentEntityprotected void registerIndexBeanDefinition(AnnotationAttributes enableIndexingAttributes, GemfirePersistentEntity<?> persistentEntity, GemfirePersistentProperty persistentProperty, IndexType indexType, Annotation indexAnnotation, BeanDefinitionRegistry registry)
IndexType for the GemfirePersistentProperty
on the GemfirePersistentEntity using the Annotation meta-data to define the Index.enableIndexingAttributes - AnnotationAttributes containing meta-data
for the EnableIndexing annotation.persistentEntity - GemfirePersistentEntity containing the GemfirePersistentProperty
to be indexed.persistentProperty - GemfirePersistentProperty for which the Index will be created.indexType - IndexType enum specifying the Index type (e.g. KEY, HASH, etc).indexAnnotation - Index Annotation.registry - BeanDefinitionRegistry used to register the Index bean definition.Annotation,
BeanDefinitionBuilder,
BeanDefinitionRegistry,
IndexType,
GemfirePersistentEntity,
GemfirePersistentPropertyprotected void registerLuceneIndexBeanDefinition(AnnotationAttributes enableIndexingAttributes, GemfirePersistentEntity<?> persistentEntity, GemfirePersistentProperty persistentProperty, Annotation luceneIndexAnnotation, BeanDefinitionRegistry registry)
LuceneIndex for the GemfirePersistentProperty on the GemfirePersistentEntity
using the Annotation meta-data to define the Index.enableIndexingAttributes - AnnotationAttributes containing meta-data
for the EnableIndexing annotation.persistentEntity - GemfirePersistentEntity containing the GemfirePersistentProperty
to be indexed.persistentProperty - GemfirePersistentProperty for which the LuceneIndex will be created.luceneIndexAnnotation - LuceneIndexed Annotation.registry - BeanDefinitionRegistry used to register the LuceneIndex bean definition.Annotation,
BeanDefinitionBuilder,
BeanDefinitionRegistry,
GemfirePersistentEntity,
GemfirePersistentProperty,
LuceneIndexedCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.