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