Package org.apache.druid.query.scan
Enum ScanQuery.ResultFormat
- java.lang.Object
-
- java.lang.Enum<ScanQuery.ResultFormat>
-
- org.apache.druid.query.scan.ScanQuery.ResultFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<ScanQuery.ResultFormat>
- Enclosing class:
- ScanQuery
public static enum ScanQuery.ResultFormat extends Enum<ScanQuery.ResultFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESULT_FORMAT_COMPACTED_LIST
RESULT_FORMAT_LIST
RESULT_FORMAT_VALUE_VECTOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScanQuery.ResultFormat
fromString(String name)
String
toString()
static ScanQuery.ResultFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScanQuery.ResultFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESULT_FORMAT_LIST
public static final ScanQuery.ResultFormat RESULT_FORMAT_LIST
-
RESULT_FORMAT_COMPACTED_LIST
public static final ScanQuery.ResultFormat RESULT_FORMAT_COMPACTED_LIST
-
RESULT_FORMAT_VALUE_VECTOR
public static final ScanQuery.ResultFormat RESULT_FORMAT_VALUE_VECTOR
-
-
Method Detail
-
values
public static ScanQuery.ResultFormat[] 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 (ScanQuery.ResultFormat c : ScanQuery.ResultFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScanQuery.ResultFormat 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<ScanQuery.ResultFormat>
-
fromString
public static ScanQuery.ResultFormat fromString(String name)
-
-