public enum CalciteConnectionProperty extends Enum<CalciteConnectionProperty> implements org.apache.calcite.avatica.ConnectionProperty
| Enum Constant and Description |
|---|
APPROXIMATE_DECIMAL
Whether approximate results from aggregate functions on
DECIMAL types are acceptable.
|
APPROXIMATE_DISTINCT_COUNT
Whether approximate results from
COUNT(DISTINCT ...) aggregate
functions are acceptable. |
APPROXIMATE_TOP_N
Whether approximate results from "Top N" queries
(
ORDER BY aggFun DESC LIMIT n) are acceptable. |
AUTO_TEMP
Whether to store query results in temporary tables.
|
CASE_SENSITIVE
Whether identifiers are matched case-sensitively.
|
CONFORMANCE
SQL conformance level.
|
CREATE_MATERIALIZATIONS
Whether Calcite should create materializations.
|
DEFAULT_NULL_COLLATION
How NULL values should be sorted if neither NULLS FIRST nor NULLS LAST are
specified.
|
DRUID_FETCH
How many rows the Druid adapter should fetch at a time when executing
"select" queries.
|
FORCE_DECORRELATE
If the planner should try de-correlating as much as it is possible.
|
FUN
Collection of built-in functions and operators.
|
LEX
Lexical policy.
|
MATERIALIZATIONS_ENABLED
Whether Calcite should use materializations.
|
MODEL
URI of the model.
|
PARSER_FACTORY
Parser factory.
|
QUOTED_CASING
How identifiers are stored if they are quoted.
|
QUOTING
How identifiers are quoted.
|
SCHEMA
Name of initial schema.
|
SCHEMA_FACTORY
Schema factory.
|
SCHEMA_TYPE
Schema type.
|
SPARK
Specifies whether Spark should be used as the engine for processing that
cannot be pushed to the source system.
|
TIME_ZONE
Time zone, for example 'gmt-3'.
|
TYPE_SYSTEM
Type system.
|
UNQUOTED_CASING
How identifiers are stored if they are not quoted.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
camelName |
private Object |
defaultValue |
private static Map<String,CalciteConnectionProperty> |
NAME_TO_PROPS |
private boolean |
required |
static CalciteConnectionProperty |
TIMEZONE
Deprecated.
|
private org.apache.calcite.avatica.ConnectionProperty.Type |
type |
private Class |
valueClass |
| Modifier and Type | Method and Description |
|---|---|
String |
camelName() |
Object |
defaultValue() |
private static Map<org.apache.calcite.avatica.ConnectionProperty,String> |
parse2(Properties properties,
Map<String,? extends org.apache.calcite.avatica.ConnectionProperty> nameToProps)
Fixed version of
ConnectionConfigImpl.parse(java.util.Properties, java.util.Map<java.lang.String, ? extends org.apache.calcite.avatica.ConnectionProperty>)
until we upgrade Avatica. |
boolean |
required() |
org.apache.calcite.avatica.ConnectionProperty.Type |
type() |
Class |
valueClass() |
static CalciteConnectionProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalciteConnectionProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
org.apache.calcite.avatica.ConnectionConfigImpl.PropEnv |
wrap(Properties properties) |
public static final CalciteConnectionProperty APPROXIMATE_DISTINCT_COUNT
COUNT(DISTINCT ...) aggregate
functions are acceptable.public static final CalciteConnectionProperty APPROXIMATE_TOP_N
ORDER BY aggFun DESC LIMIT n) are acceptable.public static final CalciteConnectionProperty APPROXIMATE_DECIMAL
public static final CalciteConnectionProperty AUTO_TEMP
public static final CalciteConnectionProperty MATERIALIZATIONS_ENABLED
public static final CalciteConnectionProperty CREATE_MATERIALIZATIONS
public static final CalciteConnectionProperty DEFAULT_NULL_COLLATION
public static final CalciteConnectionProperty DRUID_FETCH
public static final CalciteConnectionProperty MODEL
public static final CalciteConnectionProperty LEX
public static final CalciteConnectionProperty FUN
public static final CalciteConnectionProperty QUOTING
LEX is used.public static final CalciteConnectionProperty QUOTED_CASING
LEX is used.public static final CalciteConnectionProperty UNQUOTED_CASING
LEX is used.public static final CalciteConnectionProperty CASE_SENSITIVE
LEX is used.public static final CalciteConnectionProperty PARSER_FACTORY
The name of a class that implements
SqlParserImplFactory.
public static final CalciteConnectionProperty SCHEMA
public static final CalciteConnectionProperty SCHEMA_FACTORY
The name of a class that implements
SchemaFactory.
Ignored if MODEL is specified.
public static final CalciteConnectionProperty SCHEMA_TYPE
Value may be null, "MAP", "JDBC", or "CUSTOM"
(implicit if SCHEMA_FACTORY is specified).
Ignored if MODEL is specified.
public static final CalciteConnectionProperty SPARK
public static final CalciteConnectionProperty TIME_ZONE
public static final CalciteConnectionProperty FORCE_DECORRELATE
public static final CalciteConnectionProperty TYPE_SYSTEM
RelDataTypeSystem and has a public
default constructor or an INSTANCE constant.public static final CalciteConnectionProperty CONFORMANCE
private final String camelName
private final org.apache.calcite.avatica.ConnectionProperty.Type type
private final Object defaultValue
private final boolean required
private final Class valueClass
private static final Map<String,CalciteConnectionProperty> NAME_TO_PROPS
@Deprecated public static final CalciteConnectionProperty TIMEZONE
TIME_ZONE.public static CalciteConnectionProperty[] values()
for (CalciteConnectionProperty c : CalciteConnectionProperty.values()) System.out.println(c);
public static CalciteConnectionProperty 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 String camelName()
camelName in interface org.apache.calcite.avatica.ConnectionPropertypublic Object defaultValue()
defaultValue in interface org.apache.calcite.avatica.ConnectionPropertypublic org.apache.calcite.avatica.ConnectionProperty.Type type()
type in interface org.apache.calcite.avatica.ConnectionPropertypublic Class valueClass()
valueClass in interface org.apache.calcite.avatica.ConnectionPropertypublic boolean required()
required in interface org.apache.calcite.avatica.ConnectionPropertypublic org.apache.calcite.avatica.ConnectionConfigImpl.PropEnv wrap(Properties properties)
wrap in interface org.apache.calcite.avatica.ConnectionPropertyprivate static Map<org.apache.calcite.avatica.ConnectionProperty,String> parse2(Properties properties, Map<String,? extends org.apache.calcite.avatica.ConnectionProperty> nameToProps)
ConnectionConfigImpl.parse(java.util.Properties, java.util.Map<java.lang.String, ? extends org.apache.calcite.avatica.ConnectionProperty>)
until we upgrade Avatica.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.