public enum ValueConvert extends Enum<ValueConvert>
| Enum Constant and Description |
|---|
NO
Disables value conversion.
|
YES
Enables value conversion.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueConvert |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueConvert[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueConvert YES
For field values passed to the DSL (for example the parameter of a match predicate),
the DSL converter
defined in the mapping will be used.
This generally means values passed to the DSL will be expected to have the same type
as the entity property used to populate the index field.
For fields values returned by the backend (for example in projections),
the projection converter
defined in the mapping will be used.
This generally means the projected values will have the same type
as the entity property used to populate the index field.
If no converter was defined in the mapping, this option won't have any effect.
Please refer to the reference documentation for more information.
public static final ValueConvert NO
For field values passed to the DSL (for example the parameter of a match predicate), no converter will be used. This generally means values passed to the DSL will be expected to have the same type as the index field.
For fields values returned by the backend (for example in projections), no converter will be used. This generally means the projected values will have the same type as the index field.
Please refer to the reference documentation for more information.
public static ValueConvert[] values()
for (ValueConvert c : ValueConvert.values()) System.out.println(c);
public static ValueConvert 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 nullCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.