| Package | Description |
|---|---|
| org.apache.calcite.adapter.clone |
Provides utility classes.
|
| org.apache.calcite.rel.type |
Defines a type system for relational expressions.
|
| org.apache.calcite.schema |
Schema SPI.
|
| org.apache.calcite.schema.impl |
Utilities to help implement Calcite's SPIs.
|
| org.apache.calcite.sql.type |
SQL type system.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Table |
CloneSchema.createCloneTable(JavaTypeFactory typeFactory,
RelProtoDataType protoRowType,
List<ColumnMetaData.Rep> repList,
Enumerable<T> source) |
| Modifier and Type | Method and Description |
|---|---|
static RelProtoDataType |
RelDataTypeImpl.proto(RelDataType protoType)
Returns an implementation of
RelProtoDataType
that copies a given type using the given type factory. |
static RelProtoDataType |
RelDataTypeImpl.proto(SqlTypeName typeName,
boolean nullable)
Returns a
RelProtoDataType
that will create a type typeName. |
static RelProtoDataType |
RelDataTypeImpl.proto(SqlTypeName typeName,
int precision,
boolean nullable)
Returns a
RelProtoDataType
that will create a type typeName(precision). |
static RelProtoDataType |
RelDataTypeImpl.proto(SqlTypeName typeName,
int precision,
int scale,
boolean nullable)
Returns a
RelProtoDataType
that will create a type typeName(precision, scale). |
| Modifier and Type | Method and Description |
|---|---|
static RelProtoDataType |
Schemas.proto(ScalarFunction function)
Returns an implementation of
RelProtoDataType
that asks a given scalar function for its return type with a given type
factory. |
static RelProtoDataType |
Schemas.proto(Table table)
Returns an implementation of
RelProtoDataType
that asks a given table for its row type with a given type factory. |
| Constructor and Description |
|---|
MaterializedViewTable(Type elementType,
RelProtoDataType relDataType,
String viewSql,
List<String> viewSchemaPath,
MaterializationKey key) |
ViewTable(Type elementType,
RelProtoDataType rowType,
String viewSql,
List<String> schemaPath) |
| Modifier and Type | Field and Description |
|---|---|
protected RelProtoDataType |
ExplicitReturnTypeInference.protoType |
| Modifier and Type | Method and Description |
|---|---|
static ExplicitReturnTypeInference |
ReturnTypes.explicit(RelProtoDataType protoType) |
| Constructor and Description |
|---|
ExplicitReturnTypeInference(RelProtoDataType protoType)
Creates an inference rule which always returns the same type object.
|
TableFunctionReturnTypeInference(RelProtoDataType unexpandedOutputType,
List<String> paramNames,
boolean isPassthrough) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.