public enum IndexFieldInclusion extends Enum<IndexFieldInclusion>
| Enum Constant and Description |
|---|
EXCLUDED
The field is excluded.
|
INCLUDED
The field is included.
|
| Modifier and Type | Method and Description |
|---|---|
IndexFieldInclusion |
compose(IndexFieldInclusion childInclusion) |
static IndexFieldInclusion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexFieldInclusion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexFieldInclusion INCLUDED
The field can be populated when indexing and can be referenced in the Search DSL.
public static final IndexFieldInclusion EXCLUDED
@IndexedEmbedded filters.
The field can be populated when indexing, but its values will be ignored.
The field cannot be referenced in the Search DSL; trying to reference it in the Search DSL will lead to an exception stating that the field does not exist.
public static IndexFieldInclusion[] values()
for (IndexFieldInclusion c : IndexFieldInclusion.values()) System.out.println(c);
public static IndexFieldInclusion 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 IndexFieldInclusion compose(IndexFieldInclusion childInclusion)
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.