Class IndexingConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<IndexingConfiguration>
org.infinispan.configuration.cache.IndexingConfiguration
- All Implemented Interfaces:
Matchable<IndexingConfiguration>
,Updatable<IndexingConfiguration>
Configures indexing of entries in the cache for searching.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AttributeDefinition<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.since 11.0static final AttributeDefinition<Boolean>
static final AttributeDefinition<Index>
Deprecated, for removal: This API element is subject to removal in a future version.since 11.0static final AttributeDefinition<Set<String>>
static final AttributeDefinition<Map<Class<?>,
Class<?>>> static final AttributeDefinition<String>
static final AttributeDefinition<IndexStartupMode>
static final AttributeDefinition<IndexStorage>
Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, with no replacement.boolean
enabled()
Determines if indexing is enabled for this cache configuration.index()
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.Deprecated, for removal: This API element is subject to removal in a future version.since 11.The set of fully qualified names of indexed entity types, either Java classes or protobuf type names.final boolean
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0 with no replacement; to be removed in next major version.boolean
Does the index use a provider that does not persist upon restart?The currently configured key transformers.path()
reader()
storage()
toString()
writer()
Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, equals, findAttribute, hashCode, isModified, list, matches, update, validateUpdate, write
-
Field Details
-
INDEX
Deprecated, for removal: This API element is subject to removal in a future version.since 11.0 -
ENABLED
-
AUTO_CONFIG
Deprecated, for removal: This API element is subject to removal in a future version.since 11.0 -
KEY_TRANSFORMERS
-
INDEXED_ENTITIES
-
STORAGE
-
STARTUP_MODE
-
PATH
-
-
Method Details
-
properties
Deprecated, for removal: This API element is subject to removal in a future version.These properties are passed directly to the embedded Hibernate Search engine, so for the complete and up to date documentation about available properties refer to the Hibernate Search reference of the version you're using with Infinispan Query.
- See Also:
-
index
Deprecated, for removal: This API element is subject to removal in a future version.Since 11. This configuration will be removed in next major version as the index mode is calculated automatically.Returns the indexing mode of this cache. -
enabled
public boolean enabled()Determines if indexing is enabled for this cache configuration. -
autoConfig
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, with no replacement.Determines if autoconfig is enabled for this IndexingConfiguration. -
storage
-
startupMode
-
path
-
keyTransformers
The currently configured key transformers.- Returns:
- a
Map
in which the map key is the key class and the value is the Transformer class.
-
indexedEntities
Deprecated, for removal: This API element is subject to removal in a future version.since 11. Usages should be converted toindexedEntityTypes()
as this method will be removed in next major version.The subset of indexed entity classes. This does not include the protobuf types. For the entire set of types useindexedEntityTypes()
. -
indexedEntityTypes
The set of fully qualified names of indexed entity types, either Java classes or protobuf type names. This configuration corresponds to the<indexed-entities>
XML configuration element. -
reader
-
writer
-
isVolatile
public boolean isVolatile()Does the index use a provider that does not persist upon restart? -
toString
- Overrides:
toString
in classConfigurationElement<IndexingConfiguration>
-