public enum HibernateOrmIndexingStrategyName extends Enum<HibernateOrmIndexingStrategyName>
| Enum Constant and Description |
|---|
EVENT
Indexing is triggered automatically upon entity insertion, update etc.
|
MANUAL
Indexing is triggered explicitly.
|
| Modifier and Type | Method and Description |
|---|---|
static HibernateOrmIndexingStrategyName |
fromExternalRepresentation(String indexingMode)
Returns the
HibernateOrmIndexingStrategyName matching the given external representation as specified via
HibernateOrmMapperSettings.INDEXING_STRATEGY |
String |
toExternalRepresentation()
Returns the external representation of this indexing mode.
|
static HibernateOrmIndexingStrategyName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HibernateOrmIndexingStrategyName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HibernateOrmIndexingStrategyName EVENT
public static final HibernateOrmIndexingStrategyName MANUAL
public static HibernateOrmIndexingStrategyName[] values()
for (HibernateOrmIndexingStrategyName c : HibernateOrmIndexingStrategyName.values()) System.out.println(c);
public static HibernateOrmIndexingStrategyName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static HibernateOrmIndexingStrategyName fromExternalRepresentation(String indexingMode)
HibernateOrmIndexingStrategyName matching the given external representation as specified via
HibernateOrmMapperSettings.INDEXING_STRATEGYindexingMode - the indexing mode external representationHibernateOrmIndexingStrategyNamepublic String toExternalRepresentation()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.