Class IndexingConfiguration
- java.lang.Object
- 
- org.infinispan.commons.configuration.AbstractTypedPropertiesConfiguration
- 
- org.infinispan.configuration.cache.IndexingConfiguration
 
 
- 
- All Implemented Interfaces:
- org.infinispan.commons.configuration.attributes.Matchable<IndexingConfiguration>,- BaseConfigurationInfo,- ConfigurationInfo
 
 public class IndexingConfiguration extends AbstractTypedPropertiesConfiguration implements org.infinispan.commons.configuration.attributes.Matchable<IndexingConfiguration>, ConfigurationInfo Configures indexing of entries in the cache for searching.
- 
- 
Field SummaryFields Modifier and Type Field Description static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>AUTO_CONFIGstatic org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>ENABLEDstatic org.infinispan.commons.configuration.attributes.AttributeDefinition<Index>INDEXDeprecated.since 11.0static org.infinispan.commons.configuration.attributes.AttributeDefinition<Set<String>>INDEXED_ENTITIESstatic org.infinispan.commons.configuration.attributes.AttributeDefinition<Map<Class<?>,Class<?>>>KEY_TRANSFORMERS- 
Fields inherited from class org.infinispan.commons.configuration.AbstractTypedPropertiesConfigurationattributes, PROPERTIES
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSetattributes()booleanautoConfig()Deprecated.Since 11.0, with no replacement.booleanenabled()Determines if indexing is enabled for this cache configuration.org.infinispan.commons.configuration.elements.ElementDefinitiongetElementDefinition()Indexindex()Deprecated.Since 11.Set<Class<?>>indexedEntities()Deprecated.since 11.Set<String>indexedEntityTypes()The set of fully qualified names of indexed entity types, either Java classes or protobuf type names.booleanindexShareable()Deprecated.Since 11.0 with no replacement; to be removed in next major version.booleanisVolatile()Does the index use a provider that does not persist upon restart?Map<Class<?>,Class<?>>keyTransformers()The currently configured key transformers.TypedPropertiesproperties()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.StringtoString()- 
Methods inherited from class org.infinispan.commons.configuration.AbstractTypedPropertiesConfigurationattributeSet, equals, hashCode
 - 
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfosubElements
 
- 
 
- 
- 
- 
Field Detail- 
INDEX@Deprecated public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Index> INDEX Deprecated.since 11.0
 - 
ENABLEDpublic static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED 
 - 
AUTO_CONFIGpublic static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> AUTO_CONFIG 
 - 
KEY_TRANSFORMERSpublic static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Map<Class<?>,Class<?>>> KEY_TRANSFORMERS 
 
- 
 - 
Method Detail- 
getElementDefinitionpublic org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition() - Specified by:
- getElementDefinitionin interface- BaseConfigurationInfo
- Returns:
- the ElementDefinitionof the configuration.
 
 - 
propertiespublic TypedProperties properties() 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. - Overrides:
- propertiesin class- AbstractTypedPropertiesConfiguration
- See Also:
- Hibernate Search
 
 - 
index@Deprecated public Index index() Deprecated.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.
 - 
enabledpublic boolean enabled() Determines if indexing is enabled for this cache configuration.
 - 
autoConfig@Deprecated public boolean autoConfig() Deprecated.Since 11.0, with no replacement.Determines if autoconfig is enabled for this IndexingConfiguration.
 - 
keyTransformerspublic Map<Class<?>,Class<?>> keyTransformers() The currently configured key transformers.- Returns:
- a Mapin which the map key is the key class and the value is the Transformer class.
 
 - 
indexedEntities@Deprecated public Set<Class<?>> indexedEntities() Deprecated.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().
 - 
indexedEntityTypespublic Set<String> 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.
 - 
attributespublic org.infinispan.commons.configuration.attributes.AttributeSet attributes() - Specified by:
- attributesin interface- BaseConfigurationInfo
- Returns:
- the AttributeSetdeclared by the configuration.
 
 - 
indexShareable@Deprecated public final boolean indexShareable() Deprecated.Since 11.0 with no replacement; to be removed in next major version.Check if the indexes can be shared. Currently no index can be shared, so it always returns false. sharing.- Returns:
- always false, starting with version 11.0
 
 - 
isVolatilepublic boolean isVolatile() Does the index use a provider that does not persist upon restart?
 - 
toStringpublic String toString() - Overrides:
- toStringin class- AbstractTypedPropertiesConfiguration
 
 
- 
 
-