| Package | Description |
|---|---|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.type |
SQL type system.
|
| org.apache.calcite.sql.util |
Utility classes for the SQL object model, parsing, and validation.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
SqlDataTypeSpec |
SqlDataTypeSpec.getComponentTypeSpec()
Returns a new SqlDataTypeSpec corresponding to the component type if the
type spec is a collections type spec.
Collection types are ARRAY and MULTISET. |
SqlDataTypeSpec |
SqlDataTypeSpec.withNullable(Boolean nullable)
Returns a copy of this data type specification with a given
nullability.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
SqlUtil.Genealogist.visit(SqlDataTypeSpec type) |
| Modifier and Type | Method and Description |
|---|---|
static SqlDataTypeSpec |
SqlTypeUtil.convertTypeToSpec(RelDataType type)
Converts an instance of RelDataType to an instance of SqlDataTypeSpec.
|
| Modifier and Type | Method and Description |
|---|---|
R |
SqlVisitor.visit(SqlDataTypeSpec type)
Visits a datatype specification.
|
R |
SqlBasicVisitor.visit(SqlDataTypeSpec type) |
SqlNode |
SqlShuttle.visit(SqlDataTypeSpec type) |
| Modifier and Type | Method and Description |
|---|---|
private static List<Pair<SqlIdentifier,SqlDataTypeSpec>> |
SqlValidatorUtil.pairs(SqlNodeList extendedColumns)
Converts a list of extended columns
(of the form [name0, type0, name1, type1, ...])
into a list of (name, type) pairs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SqlValidator.validateDataType(SqlDataTypeSpec dataType)
Validates a data type expression.
|
void |
SqlValidatorImpl.validateDataType(SqlDataTypeSpec dataType) |
SqlNode |
SqlValidatorUtil.DeepCopier.visit(SqlDataTypeSpec type)
Deprecated.
|
Void |
SqlValidatorImpl.PatternVarVisitor.visit(SqlDataTypeSpec type) |
RelDataType |
SqlValidatorImpl.DeriveTypeVisitor.visit(SqlDataTypeSpec dataType) |
Set<String> |
SqlValidatorImpl.PatternValidator.visit(SqlDataTypeSpec type) |
| Modifier and Type | Method and Description |
|---|---|
RexNode |
SqlToRelConverter.Blackboard.visit(SqlDataTypeSpec type) |
Void |
SqlToRelConverter.AggConverter.visit(SqlDataTypeSpec type) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.