public enum Projectable extends Enum<Projectable>
This usually means that the field will be stored in the index but it is more subtle than that, for instance in the case of projection by distance.
| Enum Constant and Description |
|---|
DEFAULT
Use the backend-specific default.
|
NO
Do not allow projection on the field.
|
YES
Allow projection on the field.
|
| Modifier and Type | Method and Description |
|---|---|
static Projectable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Projectable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Projectable DEFAULT
public static final Projectable NO
public static final Projectable YES
public static Projectable[] values()
for (Projectable c : Projectable.values()) System.out.println(c);
public static Projectable 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.