CalciteSystemProperty@Deprecated public interface SaffronProperties
It is a singleton, accessed via the INSTANCE object. It is
populated from System properties if saffron is invoked via a
main() method, from a javax.servlet.ServletContext if
saffron is invoked from a servlet, and so forth. If there is a file called
"saffron.properties" in the current directory, it is read too.
Every property used in saffron code must have a method in this interface.
The method must return a sub-class of
Resources.Prop. The javadoc
comment must describe the name of the property (for example,
"net.sf.saffron.connection.PoolSize") and the default value, if any.
Developers, please make sure that this remains so!
| Modifier and Type | Interface and Description |
|---|---|
static class |
SaffronProperties.Helper
Deprecated.
Helper class.
|
| Modifier and Type | Field and Description |
|---|---|
static SaffronProperties |
INSTANCE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.runtime.Resources.BooleanProp |
allowInfiniteCostConverters()
Deprecated.
The boolean property "saffron.opt.allowInfiniteCostConverters" determines
whether the optimizer will consider adding converters of infinite cost in
order to convert a relational expression from one calling convention to
another.
|
org.apache.calcite.runtime.Resources.StringProp |
defaultCharset()
Deprecated.
The string property "saffron.default.charset" is the name of the default
character set.
|
org.apache.calcite.runtime.Resources.StringProp |
defaultCollation()
Deprecated.
The string property "saffron.default.collation.name" is the name of the
default collation.
|
org.apache.calcite.runtime.Resources.StringProp |
defaultCollationStrength()
Deprecated.
The string property "saffron.default.collation.strength" is the strength
of the default collation.
|
org.apache.calcite.runtime.Resources.StringProp |
defaultNationalCharset()
Deprecated.
The string property "saffron.default.nationalcharset" is the name of the
default national character set which is used with the N'string' construct
which may or may not be different from the
defaultCharset(). |
org.apache.calcite.runtime.Resources.IntProp |
metadataHandlerCacheMaximumSize()
Deprecated.
The string property "saffron.metadata.handler.cache.maximum.size" is the
maximum size of the cache of metadata handlers.
|
static final SaffronProperties INSTANCE
org.apache.calcite.runtime.Resources.BooleanProp allowInfiniteCostConverters()
true.org.apache.calcite.runtime.Resources.StringProp defaultCharset()
SqlValidator.org.apache.calcite.runtime.Resources.StringProp defaultNationalCharset()
defaultCharset(). The
default is "ISO-8859-1". It is used in
SqlLiteral(java.lang.Object, org.apache.calcite.sql.type.SqlTypeName, org.apache.calcite.sql.parser.SqlParserPos)org.apache.calcite.runtime.Resources.StringProp defaultCollation()
SqlCollation and
SqlLiteral(java.lang.Object, org.apache.calcite.sql.type.SqlTypeName, org.apache.calcite.sql.parser.SqlParserPos)org.apache.calcite.runtime.Resources.StringProp defaultCollationStrength()
SqlCollation and
SqlLiteral(java.lang.Object, org.apache.calcite.sql.type.SqlTypeName, org.apache.calcite.sql.parser.SqlParserPos)org.apache.calcite.runtime.Resources.IntProp metadataHandlerCacheMaximumSize()
If the value is less than 0, there is no limit. The default is 1,000.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.