public enum PivotListEntry extends Enum<PivotListEntry>
Enum Constant and Description |
---|
COUNT |
FIELD |
PIVOT |
QUERIES |
RANGES |
STATS |
VALUE |
Modifier and Type | Method and Description |
---|---|
Object |
extract(NamedList<Object> pivotList)
Given a
NamedList representing a Pivot Value, extracts the Object
which corrisponds to this PivotListEntry , or returns null if not found. |
static PivotListEntry |
get(String name)
Case-insensitive lookup of PivotListEntry by name
|
String |
getName()
Name of this entry when used in response
|
static PivotListEntry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PivotListEntry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PivotListEntry FIELD
public static final PivotListEntry VALUE
public static final PivotListEntry COUNT
public static final PivotListEntry PIVOT
public static final PivotListEntry STATS
public static final PivotListEntry QUERIES
public static final PivotListEntry RANGES
public static PivotListEntry[] values()
for (PivotListEntry c : PivotListEntry.values()) System.out.println(c);
public static PivotListEntry 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 static PivotListEntry get(String name)
getName()
public String getName()
get(java.lang.String)
public Object extract(NamedList<Object> pivotList)
NamedList
representing a Pivot Value, extracts the Object
which corrisponds to this PivotListEntry
, or returns null if not found.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.