public enum CalciteConnectionProperty extends java.lang.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.
|
NULL_EQUAL_TO_EMPTY
Whether to treat empty strings as null for Druid Adapter.
|
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
Returns the time zone from the connect string, 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 java.lang.String |
camelName |
private java.lang.Object |
defaultValue |
private static java.util.Map<java.lang.String,CalciteConnectionProperty> |
NAME_TO_PROPS |
private boolean |
required |
static CalciteConnectionProperty |
TIMEZONE
Deprecated.
|
private org.apache.calcite.avatica.ConnectionProperty.Type |
type |
private java.lang.Class |
valueClass |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
camelName() |
java.lang.Object |
defaultValue() |
private static java.util.Map<org.apache.calcite.avatica.ConnectionProperty,java.lang.String> |
parse2(java.util.Properties properties,
java.util.Map<java.lang.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() |
java.lang.Class |
valueClass() |
static CalciteConnectionProperty |
valueOf(java.lang.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(java.util.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 NULL_EQUAL_TO_EMPTY
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 java.lang.String camelName
private final org.apache.calcite.avatica.ConnectionProperty.Type type
private final java.lang.Object defaultValue
private final boolean required
private final java.lang.Class valueClass
private static final java.util.Map<java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String camelName()
camelName
in interface org.apache.calcite.avatica.ConnectionProperty
public java.lang.Object defaultValue()
defaultValue
in interface org.apache.calcite.avatica.ConnectionProperty
public org.apache.calcite.avatica.ConnectionProperty.Type type()
type
in interface org.apache.calcite.avatica.ConnectionProperty
public java.lang.Class valueClass()
valueClass
in interface org.apache.calcite.avatica.ConnectionProperty
public boolean required()
required
in interface org.apache.calcite.avatica.ConnectionProperty
public org.apache.calcite.avatica.ConnectionConfigImpl.PropEnv wrap(java.util.Properties properties)
wrap
in interface org.apache.calcite.avatica.ConnectionProperty
private static java.util.Map<org.apache.calcite.avatica.ConnectionProperty,java.lang.String> parse2(java.util.Properties properties, java.util.Map<java.lang.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–2019 The Apache Software Foundation. All rights reserved.