public class TableConfig extends Object
Constructor and Description |
---|
TableConfig() |
Modifier and Type | Method and Description |
---|---|
static TableConfig |
DEFAULT() |
CalciteConfig |
getCalciteConfig()
Returns the current configuration of Calcite for Table API and SQL queries.
|
boolean |
getEfficientTypeUsage()
Returns the usage of efficient types.
|
boolean |
getNullCheck()
Returns the NULL check.
|
TimeZone |
getTimeZone()
Returns the timezone for date/time/timestamp conversions.
|
void |
setCalciteConfig(CalciteConfig calciteConfig)
Sets the configuration of Calcite for Table API and SQL queries.
|
void |
setEfficientTypeUsage(boolean efficientTypeUsage)
Sets the usage of efficient types.
|
void |
setNullCheck(boolean nullCheck)
Sets the NULL check.
|
void |
setTimeZone(TimeZone timeZone)
Sets the timezone for date/time/timestamp conversions.
|
public static TableConfig DEFAULT()
public void setTimeZone(TimeZone timeZone)
public TimeZone getTimeZone()
public boolean getNullCheck()
public void setNullCheck(boolean nullCheck)
public boolean getEfficientTypeUsage()
NOTE: Currently, this is an experimental feature.
public void setEfficientTypeUsage(boolean efficientTypeUsage)
NOTE: Currently, this is an experimental feature.
public CalciteConfig getCalciteConfig()
public void setCalciteConfig(CalciteConfig calciteConfig)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.