public class IndexingConfigurationBuilder extends Object implements Builder<IndexingConfiguration>, ConfigurationBuilderInfo
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationBuilder |
builder |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBuilderInfo, getChildrenInfo, getNewBuilderInfojmxStatisticsprotected final ConfigurationBuilder builder
public IndexingConfigurationBuilder enabled(boolean enabled)
public IndexingConfigurationBuilder enable()
public IndexingConfigurationBuilder disable()
public boolean enabled()
public IndexingConfigurationBuilder addKeyTransformer(Class<?> keyClass, Class<?> keyTransformerClass)
keyClass - the class of the keykeyTransformerClass - the class of the org.infinispan.query.Transformer that handles this key typethis, for method chainingpublic IndexingConfigurationBuilder addProperty(String key, String value)
withProperties(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 the Hibernate Search reference of the version used by Infinispan Query.
key - Property keyvalue - Property valuethis, for method chainingpublic IndexingConfigurationBuilder setProperty(String key, Object value)
withProperties(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 the Hibernate Search reference of the version used by Infinispan Query.
key - Property keyvalue - Property valuethis, for method chainingpublic IndexingConfigurationBuilder withProperties(Properties props)
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.
props - the propertiesthis, for method chaining@Deprecated public IndexingConfigurationBuilder index(Index index)
@Deprecated public IndexingConfigurationBuilder autoConfig(boolean autoConfig)
autoConfig - booleanthis, for method chaining@Deprecated public boolean autoConfig()
public IndexingConfigurationBuilder addIndexedEntity(String indexedEntity)
public IndexingConfigurationBuilder addIndexedEntities(String... indexedEntities)
public IndexingConfigurationBuilder addIndexedEntity(Class<?> indexedEntity)
public IndexingConfigurationBuilder addIndexedEntities(Class<?>... indexedEntities)
public Set<String> indexedEntities()
<indexed-entities> XML configuration element.public void validate()
Buildervalidate in interface Builder<IndexingConfiguration>public void validate(GlobalConfiguration globalConfig)
validate in interface ConfigurationChildBuilderpublic IndexingConfiguration create()
Buildercreate in interface Builder<IndexingConfiguration>public IndexingConfigurationBuilder read(IndexingConfiguration template)
Builderread in interface Builder<IndexingConfiguration>template - the configuration from which to "clone" this config if needed.public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public ConfigurationChildBuilder template(boolean template)
template in interface ConfigurationChildBuilderpublic ConfigurationChildBuilder simpleCache(boolean simpleCache)
simpleCache in interface ConfigurationChildBuilderpublic boolean simpleCache()
simpleCache in interface ConfigurationChildBuilderpublic ClusteringConfigurationBuilder clustering()
clustering in interface ConfigurationChildBuilder@Deprecated public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors in interface ConfigurationChildBuilderpublic EncodingConfigurationBuilder encoding()
encoding in interface ConfigurationChildBuilderpublic ExpirationConfigurationBuilder expiration()
expiration in interface ConfigurationChildBuilderpublic IndexingConfigurationBuilder indexing()
indexing in interface ConfigurationChildBuilderpublic InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching in interface ConfigurationChildBuilderpublic StatisticsConfigurationBuilder statistics()
statistics in interface ConfigurationChildBuilderpublic PersistenceConfigurationBuilder persistence()
persistence in interface ConfigurationChildBuilderpublic LockingConfigurationBuilder locking()
locking in interface ConfigurationChildBuilderpublic SecurityConfigurationBuilder security()
security in interface ConfigurationChildBuilderpublic TransactionConfigurationBuilder transaction()
transaction in interface ConfigurationChildBuilderpublic UnsafeConfigurationBuilder unsafe()
unsafe in interface ConfigurationChildBuilderpublic SitesConfigurationBuilder sites()
sites in interface ConfigurationChildBuilderpublic MemoryConfigurationBuilder memory()
memory in interface ConfigurationChildBuilderprotected ConfigurationBuilder getBuilder()
public Configuration build()
build in interface ConfigurationChildBuilderCopyright © 2021 JBoss by Red Hat. All rights reserved.