Uses of Interface
org.apache.calcite.rel.type.RelProtoDataType
-
Packages that use RelProtoDataType Package Description org.apache.calcite.adapter.cassandra Cassandra query provider.org.apache.calcite.adapter.clone Provides utility classes.org.apache.calcite.adapter.csv Calcite query provider that reads from CSV (comma-separated value) files.org.apache.calcite.adapter.druid Query provider based on a Druid database.org.apache.calcite.adapter.file Calcite query provider that reads from web tables (HTML).org.apache.calcite.adapter.geode.rel Query provider based on Apache Geode (Gemfire) In Memory Data Gridorg.apache.calcite.adapter.jdbc Query provider based on a JDBC data source.org.apache.calcite.jdbc JDBC driver for Calcite.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).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.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.type SQL type system. -
-
Uses of RelProtoDataType in org.apache.calcite.adapter.cassandra
Fields in org.apache.calcite.adapter.cassandra declared as RelProtoDataType Modifier and Type Field Description (package private) RelProtoDataType
CassandraTable. protoRowType
Methods in org.apache.calcite.adapter.cassandra that return RelProtoDataType Modifier and Type Method Description (package private) RelProtoDataType
CassandraSchema. getRelDataType(java.lang.String columnFamily, boolean view)
Constructors in org.apache.calcite.adapter.cassandra with parameters of type RelProtoDataType Constructor Description CassandraEnumerator(com.datastax.driver.core.ResultSet results, RelProtoDataType protoRowType)
Creates a CassandraEnumerator. -
Uses of RelProtoDataType in org.apache.calcite.adapter.clone
Fields in org.apache.calcite.adapter.clone declared as RelProtoDataType Modifier and Type Field Description private RelProtoDataType
ArrayTable. protoRowType
private RelProtoDataType
ListTable. protoRowType
Methods in org.apache.calcite.adapter.clone with parameters of type RelProtoDataType Modifier and Type Method Description static <T> Table
CloneSchema. createCloneTable(JavaTypeFactory typeFactory, RelProtoDataType protoRowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList, Enumerable<T> source)
Deprecated.static <T> Table
CloneSchema. createCloneTable(JavaTypeFactory typeFactory, RelProtoDataType protoRowType, java.util.List<RelCollation> collations, java.util.List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList, Enumerable<T> source)
Constructors in org.apache.calcite.adapter.clone with parameters of type RelProtoDataType Constructor Description ArrayTable(java.lang.reflect.Type elementType, RelProtoDataType protoRowType, com.google.common.base.Supplier<ArrayTable.Content> supplier)
Creates an ArrayTable.ColumnLoader(JavaTypeFactory typeFactory, Enumerable<T> sourceTable, RelProtoDataType protoRowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList)
Creates a column loader, and performs the load.ListTable(java.lang.reflect.Type elementType, RelProtoDataType protoRowType, Expression expression, java.util.List list)
Creates a ListTable. -
Uses of RelProtoDataType in org.apache.calcite.adapter.csv
Fields in org.apache.calcite.adapter.csv declared as RelProtoDataType Modifier and Type Field Description protected RelProtoDataType
CsvTable. protoRowType
Constructors in org.apache.calcite.adapter.csv with parameters of type RelProtoDataType Constructor Description CsvFilterableTable(Source source, RelProtoDataType protoRowType)
Creates a CsvFilterableTable.CsvScannableTable(Source source, RelProtoDataType protoRowType)
Creates a CsvScannableTable.CsvStreamScannableTable(Source source, RelProtoDataType protoRowType)
Creates a CsvScannableTable.CsvTable(Source source, RelProtoDataType protoRowType)
Creates a CsvTable.CsvTranslatableTable(Source source, RelProtoDataType protoRowType)
Creates a CsvTable. -
Uses of RelProtoDataType in org.apache.calcite.adapter.druid
Classes in org.apache.calcite.adapter.druid that implement RelProtoDataType Modifier and Type Class Description private static class
DruidTable.MapRelProtoDataType
Creates aRelDataType
from a map of field names and types.Fields in org.apache.calcite.adapter.druid declared as RelProtoDataType Modifier and Type Field Description (package private) RelProtoDataType
DruidTable. protoRowType
Constructors in org.apache.calcite.adapter.druid with parameters of type RelProtoDataType Constructor Description DruidTable(DruidSchema schema, java.lang.String dataSource, RelProtoDataType protoRowType, java.util.Set<java.lang.String> metricFieldNames, java.lang.String timestampFieldName, java.util.List<org.joda.time.Interval> intervals, java.util.Map<java.lang.String,java.util.List<ComplexMetric>> complexMetrics, java.util.Map<java.lang.String,SqlTypeName> allFields)
Creates a Druid table. -
Uses of RelProtoDataType in org.apache.calcite.adapter.file
Fields in org.apache.calcite.adapter.file declared as RelProtoDataType Modifier and Type Field Description private RelProtoDataType
FileTable. protoRowType
Constructors in org.apache.calcite.adapter.file with parameters of type RelProtoDataType Constructor Description FileTable(Source source, java.lang.String selector, java.lang.Integer index, RelProtoDataType protoRowType, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> fieldConfigs)
Creates a FileTable. -
Uses of RelProtoDataType in org.apache.calcite.adapter.geode.rel
Constructors in org.apache.calcite.adapter.geode.rel with parameters of type RelProtoDataType Constructor Description GeodeEnumerator(org.apache.geode.cache.query.SelectResults results, RelProtoDataType protoRowType)
Creates a GeodeEnumerator. -
Uses of RelProtoDataType in org.apache.calcite.adapter.jdbc
Fields in org.apache.calcite.adapter.jdbc declared as RelProtoDataType Modifier and Type Field Description private RelProtoDataType
JdbcTable. protoRowType
Methods in org.apache.calcite.adapter.jdbc that return RelProtoDataType Modifier and Type Method Description (package private) RelProtoDataType
JdbcSchema. getRelDataType(java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName)
(package private) RelProtoDataType
JdbcSchema. getRelDataType(java.sql.DatabaseMetaData metaData, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName)
RelProtoDataType
JdbcSchema. getType(java.lang.String name)
Methods in org.apache.calcite.adapter.jdbc that return types with arguments of type RelProtoDataType Modifier and Type Method Description protected java.util.Map<java.lang.String,RelProtoDataType>
JdbcSchema. getTypes()
-
Uses of RelProtoDataType in org.apache.calcite.jdbc
Fields in org.apache.calcite.jdbc declared as RelProtoDataType Modifier and Type Field Description private RelProtoDataType
CalciteSchema.TypeEntryImpl. protoDataType
Methods in org.apache.calcite.jdbc that return RelProtoDataType Modifier and Type Method Description RelProtoDataType
CalciteSchema.SchemaPlusImpl. getType(java.lang.String name)
abstract RelProtoDataType
CalciteSchema.TypeEntry. getType()
RelProtoDataType
CalciteSchema.TypeEntryImpl. getType()
Methods in org.apache.calcite.jdbc with parameters of type RelProtoDataType Modifier and Type Method Description CalciteSchema.TypeEntry
CalciteSchema. add(java.lang.String name, RelProtoDataType type)
Defines a type within this schema.void
CalciteSchema.SchemaPlusImpl. add(java.lang.String name, RelProtoDataType type)
protected CalciteSchema.TypeEntryImpl
CalciteSchema. typeEntry(java.lang.String name, RelProtoDataType relProtoDataType)
Creates a TableEntryImpl with no SQLs.Constructors in org.apache.calcite.jdbc with parameters of type RelProtoDataType Constructor Description TypeEntryImpl(CalciteSchema schema, java.lang.String name, RelProtoDataType protoDataType)
Creates a TypeEntryImpl. -
Uses of RelProtoDataType in org.apache.calcite.prepare
Methods in org.apache.calcite.prepare that return RelProtoDataType Modifier and Type Method Description RelProtoDataType
RelOptTableImpl.MySchemaPlus. getType(java.lang.String name)
Methods in org.apache.calcite.prepare with parameters of type RelProtoDataType Modifier and Type Method Description void
RelOptTableImpl.MySchemaPlus. add(java.lang.String name, RelProtoDataType type)
-
Uses of RelProtoDataType in org.apache.calcite.rel.type
Methods in org.apache.calcite.rel.type that return RelProtoDataType Modifier and Type Method Description static RelProtoDataType
RelDataTypeImpl. proto(RelDataType protoType)
Returns an implementation ofRelProtoDataType
that copies a given type using the given type factory.static RelProtoDataType
RelDataTypeImpl. proto(SqlTypeName typeName, boolean nullable)
Returns aRelProtoDataType
that will create a typetypeName
.static RelProtoDataType
RelDataTypeImpl. proto(SqlTypeName typeName, int precision, boolean nullable)
Returns aRelProtoDataType
that will create a typetypeName(precision)
.static RelProtoDataType
RelDataTypeImpl. proto(SqlTypeName typeName, int precision, int scale, boolean nullable)
Returns aRelProtoDataType
that will create a typetypeName(precision, scale)
. -
Uses of RelProtoDataType in org.apache.calcite.schema
Methods in org.apache.calcite.schema that return RelProtoDataType Modifier and Type Method Description RelProtoDataType
Schema. getType(java.lang.String name)
Returns a type with a given name, or null if not found.static RelProtoDataType
Schemas. proto(ScalarFunction function)
Returns an implementation ofRelProtoDataType
that asks a given scalar function for its return type with a given type factory.static RelProtoDataType
Schemas. proto(Table table)
Returns an implementation ofRelProtoDataType
that asks a given table for its row type with a given type factory.Methods in org.apache.calcite.schema with parameters of type RelProtoDataType Modifier and Type Method Description void
SchemaPlus. add(java.lang.String name, RelProtoDataType type)
Adds a type to this schema. -
Uses of RelProtoDataType in org.apache.calcite.schema.impl
Fields in org.apache.calcite.schema.impl declared as RelProtoDataType Modifier and Type Field Description private RelProtoDataType
ViewTable. protoRowType
Methods in org.apache.calcite.schema.impl that return RelProtoDataType Modifier and Type Method Description RelProtoDataType
AbstractSchema. getType(java.lang.String name)
RelProtoDataType
DelegatingSchema. getType(java.lang.String name)
Methods in org.apache.calcite.schema.impl that return types with arguments of type RelProtoDataType Modifier and Type Method Description protected java.util.Map<java.lang.String,RelProtoDataType>
AbstractSchema. getTypeMap()
Returns a map of types in this schema by name.Methods in org.apache.calcite.schema.impl with parameters of type RelProtoDataType Modifier and Type Method Description protected ModifiableViewTable
ModifiableViewTable. extend(Table extendedTable, RelProtoDataType protoRowType, ImmutableIntList newColumnMapping)
Constructors in org.apache.calcite.schema.impl with parameters of type RelProtoDataType Constructor Description MaterializedViewTable(java.lang.reflect.Type elementType, RelProtoDataType relDataType, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.util.List<java.lang.String> viewPath, MaterializationKey key)
ModifiableViewTable(java.lang.reflect.Type elementType, RelProtoDataType rowType, java.lang.String viewSql, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath, Table table, Path tablePath, RexNode constraint, ImmutableIntList columnMapping)
Creates a ModifiableViewTable.ViewTable(java.lang.reflect.Type elementType, RelProtoDataType rowType, java.lang.String viewSql, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath)
-
Uses of RelProtoDataType in org.apache.calcite.sql.ddl
Fields in org.apache.calcite.sql.ddl declared as RelProtoDataType Modifier and Type Field Description private RelProtoDataType
SqlCreateTable.MutableArrayTable. protoRowType
private RelProtoDataType
SqlCreateTable.MutableArrayTable. protoStoredRowType
Constructors in org.apache.calcite.sql.ddl with parameters of type RelProtoDataType Constructor Description MaterializedViewTable(java.lang.String name, RelProtoDataType protoRowType)
MutableArrayTable(java.lang.String name, RelProtoDataType protoStoredRowType, RelProtoDataType protoRowType, InitializerExpressionFactory initializerExpressionFactory)
Creates a MutableArrayTable. -
Uses of RelProtoDataType in org.apache.calcite.sql.type
Fields in org.apache.calcite.sql.type declared as RelProtoDataType Modifier and Type Field Description protected RelProtoDataType
ExplicitReturnTypeInference. protoType
Methods in org.apache.calcite.sql.type with parameters of type RelProtoDataType Modifier and Type Method Description static ExplicitReturnTypeInference
ReturnTypes. explicit(RelProtoDataType protoType)
Constructors in org.apache.calcite.sql.type with parameters of type RelProtoDataType Constructor Description ExplicitReturnTypeInference(RelProtoDataType protoType)
Creates an inference rule which always returns the same type object.TableFunctionReturnTypeInference(RelProtoDataType unexpandedOutputType, java.util.List<java.lang.String> paramNames, boolean isPassthrough)
-