| Package | Description |
|---|---|
| org.apache.calcite.rel.type |
Defines a type system for relational expressions.
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.parser.impl |
Contains generated code for the
Calcite SQL parser. |
| org.apache.calcite.sql.type |
SQL type system.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
SqlCollation |
RelDataTypeImpl.getCollation() |
SqlCollation |
RelDataTypeFactoryImpl.JavaType.getCollation() |
SqlCollation |
RelDataType.getCollation()
Gets this type's collation, or null if this type cannot carry a collation
or has no collation defined.
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
RelDataTypeFactory.createTypeWithCharsetAndCollation(RelDataType type,
Charset charset,
SqlCollation collation)
Creates a Type which is the same as another type but with possibly
different charset or collation.
|
| Constructor and Description |
|---|
RelDataTypeFactoryImpl.JavaType(Class clazz,
boolean nullable,
Charset charset,
SqlCollation collation) |
| Modifier and Type | Field and Description |
|---|---|
static SqlCollation |
SqlCollation.COERCIBLE |
static SqlCollation |
SqlCollation.IMPLICIT |
| Modifier and Type | Method and Description |
|---|---|
protected static SqlCollation |
SqlCollation.getCoercibilityDyadic(SqlCollation col1,
SqlCollation col2)
|
static SqlCollation |
SqlCollation.getCoercibilityDyadicOperator(SqlCollation col1,
SqlCollation col2)
Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.
|
static SqlCollation |
SqlCollation.getCoercibilityDyadicOperatorThrows(SqlCollation col1,
SqlCollation col2)
Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.
|
SqlCollation |
SqlCharStringLiteral.getCollation() |
SqlCollation |
SqlIdentifier.getCollation() |
| Modifier and Type | Method and Description |
|---|---|
protected static SqlCollation |
SqlCollation.getCoercibilityDyadic(SqlCollation col1,
SqlCollation col2)
|
static String |
SqlCollation.getCoercibilityDyadicComparison(SqlCollation col1,
SqlCollation col2)
Returns the collating sequence (the collation name) to use for the
resulting value of a comparison.
|
static SqlCollation |
SqlCollation.getCoercibilityDyadicOperator(SqlCollation col1,
SqlCollation col2)
Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.
|
static SqlCollation |
SqlCollation.getCoercibilityDyadicOperatorThrows(SqlCollation col1,
SqlCollation col2)
Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.
|
| Constructor and Description |
|---|
SqlIdentifier(List<String> names,
SqlCollation collation,
SqlParserPos pos,
List<SqlParserPos> componentPositions)
Creates a compound identifier, for example
foo.bar. |
SqlIdentifier(String name,
SqlCollation collation,
SqlParserPos pos)
Creates a simple identifier, for example
foo, with a
collation. |
| Modifier and Type | Method and Description |
|---|---|
SqlCollation |
SqlParserImpl.CollateClause()
Parses a COLLATE clause
|
| Modifier and Type | Method and Description |
|---|---|
SqlCollation |
BasicSqlType.getCollation() |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
SqlTypeFactoryImpl.createTypeWithCharsetAndCollation(RelDataType type,
Charset charset,
SqlCollation collation) |
| Modifier and Type | Method and Description |
|---|---|
SqlCollation |
NlsString.getCollation() |
| Constructor and Description |
|---|
NlsString(String value,
String charsetName,
SqlCollation collation)
Creates a string in a specfied character set.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.