Package org.apache.pinot.common.request
Enum PinotQuery._Fields
- java.lang.Object
-
- java.lang.Enum<PinotQuery._Fields>
-
- org.apache.pinot.common.request.PinotQuery._Fields
-
- All Implemented Interfaces:
Serializable,Comparable<PinotQuery._Fields>,java.lang.constant.Constable,org.apache.thrift.TFieldIdEnum
- Enclosing class:
- PinotQuery
public static enum PinotQuery._Fields extends Enum<PinotQuery._Fields> implements org.apache.thrift.TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_SOURCEDEBUG_OPTIONSEXPLAINEXPRESSION_OVERRIDE_HINTSFILTER_EXPRESSIONGROUP_BY_LISTHAVING_EXPRESSIONLIMITOFFSETORDER_BY_LISTQUERY_OPTIONSSELECT_LISTVERSION
-
Method Summary
Modifier and Type Method Description static PinotQuery._FieldsfindByName(String name)Find the _Fields constant that matches name, or null if its not found.static PinotQuery._FieldsfindByThriftId(int fieldId)Find the _Fields constant that matches fieldId, or null if its not found.static PinotQuery._FieldsfindByThriftIdOrThrow(int fieldId)Find the _Fields constant that matches fieldId, throwing an exception if it is not found.StringgetFieldName()shortgetThriftFieldId()static PinotQuery._FieldsvalueOf(String name)Returns the enum constant of this type with the specified name.static PinotQuery._Fields[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERSION
public static final PinotQuery._Fields VERSION
-
DATA_SOURCE
public static final PinotQuery._Fields DATA_SOURCE
-
SELECT_LIST
public static final PinotQuery._Fields SELECT_LIST
-
FILTER_EXPRESSION
public static final PinotQuery._Fields FILTER_EXPRESSION
-
GROUP_BY_LIST
public static final PinotQuery._Fields GROUP_BY_LIST
-
ORDER_BY_LIST
public static final PinotQuery._Fields ORDER_BY_LIST
-
HAVING_EXPRESSION
public static final PinotQuery._Fields HAVING_EXPRESSION
-
LIMIT
public static final PinotQuery._Fields LIMIT
-
OFFSET
public static final PinotQuery._Fields OFFSET
-
DEBUG_OPTIONS
public static final PinotQuery._Fields DEBUG_OPTIONS
-
QUERY_OPTIONS
public static final PinotQuery._Fields QUERY_OPTIONS
-
EXPLAIN
public static final PinotQuery._Fields EXPLAIN
-
EXPRESSION_OVERRIDE_HINTS
public static final PinotQuery._Fields EXPRESSION_OVERRIDE_HINTS
-
-
Method Detail
-
values
public static PinotQuery._Fields[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PinotQuery._Fields valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
findByThriftId
public static PinotQuery._Fields findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
-
findByThriftIdOrThrow
public static PinotQuery._Fields findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
-
findByName
public static PinotQuery._Fields findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
-
getThriftFieldId
public short getThriftFieldId()
- Specified by:
getThriftFieldIdin interfaceorg.apache.thrift.TFieldIdEnum
-
getFieldName
public String getFieldName()
- Specified by:
getFieldNamein interfaceorg.apache.thrift.TFieldIdEnum
-
-