public final class HibernateOrmMapperSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HibernateOrmMapperSettings.Defaults
Default values for the different settings if no values are given.
|
static class |
HibernateOrmMapperSettings.Radicals
Configuration property keys without the
prefix. |
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOMATIC_INDEXING_ENABLE_DIRTY_CHECK
Whether to check if dirty properties are relevant to indexing before actually reindexing an entity.
|
static String |
AUTOMATIC_INDEXING_STRATEGY
The automatic indexing strategy to use.
|
static String |
AUTOMATIC_INDEXING_SYNCHRONIZATION_STRATEGY
The synchronization strategy to use when indexing automatically.
|
static String |
ENABLED
Whether Hibernate Search is enabled or not.
|
static String |
MAPPING_CONFIGURER
The mapping configurer to use.
|
static String |
MAPPING_PROCESS_ANNOTATIONS
Whether annotations should be automatically processed for entity types,
as well as nested types in those entity types, for instance embedded types.
|
static String |
PREFIX
The prefix expected for the key of every Hibernate Search configuration property
when using the Hibernate ORM mapper.
|
static String |
QUERY_LOADING_CACHE_LOOKUP_STRATEGY
The strategy to use when loading entities during the execution of a search query.
|
static String |
QUERY_LOADING_FETCH_SIZE
The fetch size to use when loading entities during the execution of a search query.
|
public static final String PREFIX
public static final String ENABLED
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to HibernateOrmMapperSettings.Defaults.ENABLED.
public static final String AUTOMATIC_INDEXING_STRATEGY
Expects a AutomaticIndexingStrategyName value, or a String representation of such value.
Defaults to HibernateOrmMapperSettings.Defaults.AUTOMATIC_INDEXING_STRATEGY.
public static final String AUTOMATIC_INDEXING_SYNCHRONIZATION_STRATEGY
Expects a AutomaticIndexingSynchronizationStrategyName value,
or a String representation of such value.
Defaults to HibernateOrmMapperSettings.Defaults.AUTOMATIC_INDEXING_SYNCHRONIZATION_STRATEGY.
public static final String AUTOMATIC_INDEXING_ENABLE_DIRTY_CHECK
When enabled, re-indexing of an entity is skipped if the only changes are on properties that are not used when indexing. This feature is considered safe and thus enabled by default.
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to Defaults#AUTOMATIC_INDEXING_ENABLE_DIRTY_CHECK.
public static final String QUERY_LOADING_CACHE_LOOKUP_STRATEGY
Expects a EntityLoadingCacheLookupStrategy value, or a String representation of such value.
Defaults to HibernateOrmMapperSettings.Defaults.QUERY_LOADING_CACHE_LOOKUP_STRATEGY.
public static final String QUERY_LOADING_FETCH_SIZE
Expects a strictly positive Integer value, such as 100,
or a String that can be parsed into such Integer value.
Defaults to HibernateOrmMapperSettings.Defaults.QUERY_LOADING_FETCH_SIZE.
public static final String MAPPING_PROCESS_ANNOTATIONS
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to Defaults#ENABLE_ANNOTATION_MAPPING.
public static final String MAPPING_CONFIGURER
Expects a reference to a bean of type HibernateOrmSearchMappingConfigurer.
Defaults to no value.
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.