Package com.yahoo.vespa.documentmodel
Enum SummaryField.VsmCommand
- java.lang.Object
-
- java.lang.Enum<SummaryField.VsmCommand>
-
- com.yahoo.vespa.documentmodel.SummaryField.VsmCommand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SummaryField.VsmCommand>
- Enclosing class:
- SummaryField
public static enum SummaryField.VsmCommand extends java.lang.Enum<SummaryField.VsmCommand>
The command used when using data from this SummaryField to generate StreamingSummary config (vsmsummary). Not used for ordinary Summary config.- Author:
- vegardh
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLATTENJUNIPER
FLATTENSPACE
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static SummaryField.VsmCommand
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SummaryField.VsmCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SummaryField.VsmCommand NONE
-
FLATTENSPACE
public static final SummaryField.VsmCommand FLATTENSPACE
-
FLATTENJUNIPER
public static final SummaryField.VsmCommand FLATTENJUNIPER
-
-
Method Detail
-
values
public static SummaryField.VsmCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SummaryField.VsmCommand c : SummaryField.VsmCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummaryField.VsmCommand valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<SummaryField.VsmCommand>
-
-