public static enum HighlightBuilder.Order extends java.lang.Enum<HighlightBuilder.Order> implements Writeable
Writeable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Method and Description |
|---|---|
static HighlightBuilder.Order |
fromString(java.lang.String order) |
static HighlightBuilder.Order |
readFromStream(StreamInput in) |
java.lang.String |
toString() |
static HighlightBuilder.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HighlightBuilder.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public static final HighlightBuilder.Order NONE
public static final HighlightBuilder.Order SCORE
public static HighlightBuilder.Order[] values()
for (HighlightBuilder.Order c : HighlightBuilder.Order.values()) System.out.println(c);
public static HighlightBuilder.Order 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 static HighlightBuilder.Order readFromStream(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic static HighlightBuilder.Order fromString(java.lang.String order)
public java.lang.String toString()
toString in class java.lang.Enum<HighlightBuilder.Order>