public enum AutomaticIndexingStrategyName extends Enum<AutomaticIndexingStrategyName>
| Enum Constant and Description |
|---|
NONE
No automatic indexing is performed:
indexing will only happen when explicitly requested through APIs
such as
SearchSession.indexingPlan(). |
SESSION
Indexing is triggered automatically when entities are modified in the Hibernate ORM session:
entity insertion, update etc.
|
| Modifier and Type | Method and Description |
|---|---|
static AutomaticIndexingStrategyName |
of(String value) |
static AutomaticIndexingStrategyName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticIndexingStrategyName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomaticIndexingStrategyName NONE
SearchSession.indexingPlan().public static final AutomaticIndexingStrategyName SESSION
public static AutomaticIndexingStrategyName[] values()
for (AutomaticIndexingStrategyName c : AutomaticIndexingStrategyName.values()) System.out.println(c);
public static AutomaticIndexingStrategyName 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 AutomaticIndexingStrategyName of(String value)
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.