public enum EngineFeature extends Enum<EngineFeature>
SqlEngine.feature(EngineFeature, PlannerContext).| Enum Constant and Description |
|---|
ALLOW_BINDABLE_PLAN
Planner is permitted to use a
Bindable plan on local resources, instead
of QueryMaker, for SELECT query implementation. |
CAN_INSERT
Can execute INSERT statements.
|
CAN_REPLACE
Can execute REPLACE statements.
|
CAN_SELECT
Can execute SELECT statements.
|
READ_EXTERNAL_DATA
Queries can use
ExternalDataSource. |
SCAN_NEEDS_SIGNATURE
Scan queries must have
DruidQuery.CTX_SCAN_SIGNATURE set in their
query contexts. |
SCAN_ORDER_BY_NON_TIME
Scan queries can use
ScanQuery.getOrderBys() that are based on something
other than the "__time" column. |
TIME_BOUNDARY_QUERY
Queries of type
TimeBoundaryQuery are usable. |
TIMESERIES_QUERY
Queries of type
TimeseriesQuery are usable. |
TOPN_QUERY
Queries of type
TopNQuery are usable. |
| Modifier and Type | Method and Description |
|---|---|
static EngineFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EngineFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EngineFeature CAN_SELECT
public static final EngineFeature CAN_INSERT
public static final EngineFeature CAN_REPLACE
public static final EngineFeature TIMESERIES_QUERY
TimeseriesQuery are usable.public static final EngineFeature TOPN_QUERY
TopNQuery are usable.public static final EngineFeature TIME_BOUNDARY_QUERY
TimeBoundaryQuery are usable.public static final EngineFeature READ_EXTERNAL_DATA
ExternalDataSource.public static final EngineFeature SCAN_ORDER_BY_NON_TIME
ScanQuery.getOrderBys() that are based on something
other than the "__time" column.public static final EngineFeature SCAN_NEEDS_SIGNATURE
DruidQuery.CTX_SCAN_SIGNATURE set in their
query contexts.public static final EngineFeature ALLOW_BINDABLE_PLAN
Bindable plan on local resources, instead
of QueryMaker, for SELECT query implementation. Used for system tables and the like.public static EngineFeature[] values()
for (EngineFeature c : EngineFeature.values()) System.out.println(c);
public static EngineFeature 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 nullCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.