public static enum IndexTarget.Type extends java.lang.Enum<IndexTarget.Type>
Enum Constant and Description |
---|
FULL |
KEYS |
KEYS_AND_VALUES |
SIMPLE |
VALUES |
Modifier and Type | Method and Description |
---|---|
static IndexTarget.Type |
fromString(java.lang.String s) |
java.lang.String |
toString() |
static IndexTarget.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexTarget.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexTarget.Type VALUES
public static final IndexTarget.Type KEYS
public static final IndexTarget.Type KEYS_AND_VALUES
public static final IndexTarget.Type FULL
public static final IndexTarget.Type SIMPLE
public static IndexTarget.Type[] values()
for (IndexTarget.Type c : IndexTarget.Type.values()) System.out.println(c);
public static IndexTarget.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<IndexTarget.Type>
public static IndexTarget.Type fromString(java.lang.String s)
Copyright © 2018 The Apache Software Foundation