public class IndexingConfiguration extends AbstractTypedPropertiesConfiguration implements Matchable<IndexingConfiguration>, ConfigurationInfo
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<Boolean> |
AUTO_CONFIG |
static AttributeDefinition<Boolean> |
ENABLED |
static AttributeDefinition<Index> |
INDEX
Deprecated.
since 11.0
|
static AttributeDefinition<Set<String>> |
INDEXED_ENTITIES |
static AttributeDefinition<Map<Class<?>,Class<?>>> |
KEY_TRANSFORMERS |
attributes, PROPERTIES
Modifier and Type | Method and Description |
---|---|
AttributeSet |
attributes() |
boolean |
autoConfig()
Deprecated.
Since 11.0, with no replacement.
|
boolean |
enabled()
Determines if indexing is enabled for this cache configuration.
|
ElementDefinition |
getElementDefinition() |
Index |
index()
Deprecated.
Since 11. This configuration will be removed in next major version as the index mode is calculated
automatically.
|
Set<Class<?>> |
indexedEntities()
Deprecated.
since 11. Usages should be converted to
indexedEntityTypes() as this method will be removed
in next major version. |
Set<String> |
indexedEntityTypes()
The set of fully qualified names of indexed entity types, either Java classes or protobuf type names.
|
boolean |
indexShareable()
Deprecated.
Since 11.0 with no replacement; to be removed in next major version.
|
boolean |
isVolatile()
Does the index use a provider that does not persist upon restart?
|
Map<Class<?>,Class<?>> |
keyTransformers()
The currently configured key transformers.
|
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.
|
String |
toString() |
attributeSet, equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
subElements
@Deprecated public static final AttributeDefinition<Index> INDEX
public static final AttributeDefinition<Boolean> ENABLED
public static final AttributeDefinition<Boolean> AUTO_CONFIG
public static final AttributeDefinition<Map<Class<?>,Class<?>>> KEY_TRANSFORMERS
public static final AttributeDefinition<Set<String>> INDEXED_ENTITIES
public ElementDefinition getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
of the configuration.public 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.
properties
in class AbstractTypedPropertiesConfiguration
@Deprecated public Index index()
public boolean enabled()
@Deprecated public boolean autoConfig()
public Map<Class<?>,Class<?>> keyTransformers()
Map
in which the map key is the key class and the value is the Transformer class.@Deprecated public Set<Class<?>> indexedEntities()
indexedEntityTypes()
as this method will be removed
in next major version.indexedEntityTypes()
.public Set<String> indexedEntityTypes()
<indexed-entities>
XML configuration element.public AttributeSet attributes()
attributes
in interface BaseConfigurationInfo
AttributeSet
declared by the configuration.@Deprecated public final boolean indexShareable()
public boolean isVolatile()
public String toString()
toString
in class AbstractTypedPropertiesConfiguration
Copyright © 2021 JBoss by Red Hat. All rights reserved.