Uses of Interface
org.apache.calcite.rel.type.RelDataTypeFactory
-
Packages that use RelDataTypeFactory 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.elasticsearch Query provider based on an Elasticsearch2 DB.org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.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.geode.simple Query provider based on Apache Geode (Gemfire) In Memory Data Gridorg.apache.calcite.adapter.geode.util Query provider based on Apache Geode (Gemfire) In Memory Data Gridorg.apache.calcite.adapter.java Query provider based on Java in-memory data structures.org.apache.calcite.adapter.jdbc Query provider based on a JDBC data source.org.apache.calcite.adapter.mongodb Query provider based on a MongoDB database.org.apache.calcite.adapter.pig Pig query provider.org.apache.calcite.adapter.splunk Splunk query provider.org.apache.calcite.adapter.tpcds TPC-DS schema.org.apache.calcite.adapter.tpch TPC-H schema.org.apache.calcite.example.maze User-defined table function that generates a maze.org.apache.calcite.jdbc JDBC driver for Calcite.org.apache.calcite.plan Defines interfaces for constructing rule-based optimizers of relational expressions.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.rel.core Defines core relational expressions.org.apache.calcite.rel.externalize Facilities to externalizeRelNode
s to and from XML and JSON format.org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.rel.type Defines a type system for relational expressions.org.apache.calcite.rex Provides a language for representing row-expressions.org.apache.calcite.schema Schema SPI.org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql Provides a SQL parser and object model.org.apache.calcite.sql.advise Provides hints and corrections for editing SQL statements.org.apache.calcite.sql.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.fun Defines the set of standard SQL row-level functions and operators.org.apache.calcite.sql.type SQL type system.org.apache.calcite.sql.validate SQL validation.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression.org.apache.calcite.tools Provides utility classes. -
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.cassandra
Methods in org.apache.calcite.adapter.cassandra with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
CassandraTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.clone
Methods in org.apache.calcite.adapter.clone with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
ArrayTable. getRowType(RelDataTypeFactory typeFactory)
RelDataType
ListTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.csv
Methods in org.apache.calcite.adapter.csv with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
CsvStreamScannableTable. getRowType(RelDataTypeFactory typeFactory)
RelDataType
CsvTable. getRowType(RelDataTypeFactory typeFactory)
RelDataType
JsonTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.druid
Methods in org.apache.calcite.adapter.druid with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
DruidTable.MapRelProtoDataType. apply(RelDataTypeFactory typeFactory)
RelDataType
DruidTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.elasticsearch
Methods in org.apache.calcite.adapter.elasticsearch with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
ElasticsearchTable. getRowType(RelDataTypeFactory relDataTypeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable with parameters of type RelDataTypeFactory Modifier and Type Method Description private static RelDataType
RexImpTable. toSql(RelDataTypeFactory typeFactory, RelDataType type)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.file
Methods in org.apache.calcite.adapter.file with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
FileTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.geode.rel
Methods in org.apache.calcite.adapter.geode.rel with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
GeodeTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.geode.simple
Methods in org.apache.calcite.adapter.geode.simple with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
GeodeSimpleScannableTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.geode.util
Classes in org.apache.calcite.adapter.geode.util that implement RelDataTypeFactory Modifier and Type Class Description class
JavaTypeFactoryExtImpl
Implementation ofJavaTypeFactory
. -
Uses of RelDataTypeFactory in org.apache.calcite.adapter.java
Subinterfaces of RelDataTypeFactory in org.apache.calcite.adapter.java Modifier and Type Interface Description interface
JavaTypeFactory
Type factory that can register Java classes as record types.Methods in org.apache.calcite.adapter.java with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
ReflectiveSchema.ReflectiveTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.jdbc
Methods in org.apache.calcite.adapter.jdbc with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
JdbcTable. getRowType(RelDataTypeFactory typeFactory)
private RelDataType
JdbcSchema. parseTypeString(RelDataTypeFactory typeFactory, java.lang.String typeString)
Given "INTEGER", returns BasicSqlType(INTEGER).private RelDataType
JdbcSchema. sqlType(RelDataTypeFactory typeFactory, int dataType, int precision, int scale, java.lang.String typeString)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.mongodb
Methods in org.apache.calcite.adapter.mongodb with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
MongoTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.pig
Methods in org.apache.calcite.adapter.pig with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
PigTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.splunk
Methods in org.apache.calcite.adapter.splunk with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
SplunkTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.tpcds
Methods in org.apache.calcite.adapter.tpcds with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
TpcdsSchema.TpcdsQueryableTable. getRowType(RelDataTypeFactory typeFactory)
private RelDataType
TpcdsSchema.TpcdsQueryableTable. type(RelDataTypeFactory typeFactory, com.teradata.tpcds.column.Column column)
-
Uses of RelDataTypeFactory in org.apache.calcite.adapter.tpch
Methods in org.apache.calcite.adapter.tpch with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
TpchSchema.TpchQueryableTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.example.maze
Methods in org.apache.calcite.example.maze with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
MazeTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.jdbc
Classes in org.apache.calcite.jdbc that implement RelDataTypeFactory Modifier and Type Class Description class
JavaTypeFactoryImpl
Implementation ofJavaTypeFactory
.Fields in org.apache.calcite.jdbc declared as RelDataTypeFactory Modifier and Type Field Description RelDataTypeFactory
CalcitePrepare.ParseResult. typeFactory
Methods in org.apache.calcite.jdbc with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
CalciteMetaImpl.MetadataTable. getRowType(RelDataTypeFactory typeFactory)
static RelDataType
JavaTypeFactoryImpl. toSql(RelDataTypeFactory typeFactory, RelDataType type)
Converts a type in Java format to a SQL-oriented type. -
Uses of RelDataTypeFactory in org.apache.calcite.plan
Fields in org.apache.calcite.plan declared as RelDataTypeFactory Modifier and Type Field Description private RelDataTypeFactory
RelOptCluster. typeFactory
Methods in org.apache.calcite.plan that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
RelOptCluster. getTypeFactory()
RelDataTypeFactory
RelOptSchema. getTypeFactory()
Returns thetype factory
used to generate types for this schema.Methods in org.apache.calcite.plan with parameters of type RelDataTypeFactory Modifier and Type Method Description RelOptCluster
RelOptQuery. createCluster(RelDataTypeFactory typeFactory, RexBuilder rexBuilder)
Deprecated.static RelDataType
RelOptUtil. createDmlRowType(SqlKind kind, RelDataTypeFactory typeFactory)
Creates the row type descriptor for the result of a DML operation, which is a single column named ROWCOUNT of type BIGINT for INSERT; a single column named PLAN for EXPLAIN.static java.util.Map<java.lang.Integer,RexNode>
RelOptUtil. getColumnConstraints(ModifiableView modifiableViewTable, RelDataType targetRowType, RelDataTypeFactory typeFactory)
Returns a mapping of the column ordinal in the underlying table to a column constraint of the modifiable view.static RelDataType
RelOptUtil. permute(RelDataTypeFactory typeFactory, RelDataType rowType, Mapping mapping)
Permutes a record type according to a mapping.Constructors in org.apache.calcite.plan with parameters of type RelDataTypeFactory Constructor Description RelOptCluster(RelOptPlanner planner, RelDataTypeFactory typeFactory, RexBuilder rexBuilder, java.util.concurrent.atomic.AtomicInteger nextCorrel, java.util.Map<java.lang.String,RelNode> mapCorrelToRel)
Creates a cluster.RelOptCluster(RelOptQuery query, RelOptPlanner planner, RelDataTypeFactory typeFactory, RexBuilder rexBuilder)
Deprecated. -
Uses of RelDataTypeFactory in org.apache.calcite.prepare
Fields in org.apache.calcite.prepare declared as RelDataTypeFactory Modifier and Type Field Description protected RelDataTypeFactory
CalciteCatalogReader. typeFactory
protected RelDataTypeFactory
CalcitePrepareImpl.CalcitePreparingStmt. typeFactory
Methods in org.apache.calcite.prepare that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
CalciteCatalogReader. getTypeFactory()
Methods in org.apache.calcite.prepare with parameters of type RelDataTypeFactory Modifier and Type Method Description private static RelDataType
CalcitePrepareImpl. makeStruct(RelDataTypeFactory typeFactory, RelDataType type)
private static SqlOperator
CalciteCatalogReader. toOp(RelDataTypeFactory typeFactory, SqlIdentifier name, Function function)
Converts a function to aSqlOperator
.private static java.util.List<RelDataType>
CalciteCatalogReader. toSql(RelDataTypeFactory typeFactory, java.util.List<RelDataType> types)
private static RelDataType
CalciteCatalogReader. toSql(RelDataTypeFactory typeFactory, RelDataType type)
Constructors in org.apache.calcite.prepare with parameters of type RelDataTypeFactory Constructor Description CalciteCatalogReader(CalciteSchema rootSchema, java.util.List<java.lang.String> defaultSchema, RelDataTypeFactory typeFactory, CalciteConnectionConfig config)
CalciteCatalogReader(CalciteSchema rootSchema, SqlNameMatcher nameMatcher, java.util.List<java.util.List<java.lang.String>> schemaPaths, RelDataTypeFactory typeFactory, CalciteConnectionConfig config)
CalcitePreparingStmt(CalcitePrepareImpl prepare, CalcitePrepare.Context context, Prepare.CatalogReader catalogReader, RelDataTypeFactory typeFactory, CalciteSchema schema, EnumerableRel.Prefer prefer, RelOptPlanner planner, Convention resultConvention, SqlRexConvertletTable convertletTable)
-
Uses of RelDataTypeFactory in org.apache.calcite.rel.core
Methods in org.apache.calcite.rel.core with parameters of type RelDataTypeFactory Modifier and Type Method Description static RelDataType
Join. createJoinType(RelDataTypeFactory typeFactory, RelDataType leftType, RelDataType rightType, java.util.List<java.lang.String> fieldNameList, java.util.List<RelDataTypeField> systemFieldList)
Deprecated.static RelDataType
Join. deriveJoinRowType(RelDataType leftType, RelDataType rightType, JoinRelType joinType, RelDataTypeFactory typeFactory, java.util.List<java.lang.String> fieldNameList, java.util.List<RelDataTypeField> systemFieldList)
Deprecated.static RelDataType
Aggregate. deriveRowType(RelDataTypeFactory typeFactory, RelDataType inputRowType, boolean indicator, ImmutableBitSet groupSet, java.util.List<ImmutableBitSet> groupSets, java.util.List<AggregateCall> aggCalls)
Computes the row type of anAggregate
before it exists.Constructors in org.apache.calcite.rel.core with parameters of type RelDataTypeFactory Constructor Description AggCallBinding(RelDataTypeFactory typeFactory, SqlAggFunction aggFunction, java.util.List<RelDataType> operands, int groupCount, boolean filter)
Creates an AggCallBinding -
Uses of RelDataTypeFactory in org.apache.calcite.rel.externalize
Methods in org.apache.calcite.rel.externalize with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
RelJson. toType(RelDataTypeFactory typeFactory, java.lang.Object o)
-
Uses of RelDataTypeFactory in org.apache.calcite.rel.rules
Fields in org.apache.calcite.rel.rules declared as RelDataTypeFactory Modifier and Type Field Description (package private) RelDataTypeFactory
LoptMultiJoin. factory
Type factoryprivate RelDataTypeFactory
CalcRelSplitter. typeFactory
private RelDataTypeFactory
ReduceExpressionsRule.ReducibleExprLocator. typeFactory
Methods in org.apache.calcite.rel.rules with parameters of type RelDataTypeFactory Modifier and Type Method Description private AggregateCall
AggregateReduceFunctionsRule. createAggregateCallWithBinding(RelDataTypeFactory typeFactory, SqlAggFunction aggFunction, RelDataType operandType, Aggregate oldAggRel, AggregateCall oldCall, int argOrdinal, int filter)
protected static void
ReduceExpressionsRule. findReducibleExps(RelDataTypeFactory typeFactory, java.util.List<RexNode> exps, com.google.common.collect.ImmutableMap<RexNode,RexNode> constants, java.util.List<RexNode> constExps, java.util.List<java.lang.Boolean> addCasts, java.util.List<RexNode> removableCasts)
Locates expressions that can be reduced to literals or converted to expressions with redundant casts removed.Constructors in org.apache.calcite.rel.rules with parameters of type RelDataTypeFactory Constructor Description ReducibleExprLocator(RelDataTypeFactory typeFactory, com.google.common.collect.ImmutableMap<RexNode,RexNode> constants, java.util.List<RexNode> constExprs, java.util.List<java.lang.Boolean> addCasts, java.util.List<RexNode> removableCasts)
-
Uses of RelDataTypeFactory in org.apache.calcite.rel.type
Classes in org.apache.calcite.rel.type that implement RelDataTypeFactory Modifier and Type Class Description class
RelDataTypeFactoryImpl
Abstract base for implementations ofRelDataTypeFactory
.Fields in org.apache.calcite.rel.type declared as RelDataTypeFactory Modifier and Type Field Description private RelDataTypeFactory
RelDataTypeFactory.Builder. typeFactory
private RelDataTypeFactory
RelDataTypeHolder. typeFactory
Methods in org.apache.calcite.rel.type with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
DelegatingTypeSystem. deriveAvgAggType(RelDataTypeFactory typeFactory, RelDataType argumentType)
RelDataType
RelDataTypeSystem. deriveAvgAggType(RelDataTypeFactory typeFactory, RelDataType argumentType)
Returns the return type of a call to theAVG
,STDDEV
orVAR
aggregate functions, inferred from its argument type.RelDataType
RelDataTypeSystemImpl. deriveAvgAggType(RelDataTypeFactory typeFactory, RelDataType argumentType)
RelDataType
DelegatingTypeSystem. deriveCovarType(RelDataTypeFactory typeFactory, RelDataType arg0Type, RelDataType arg1Type)
RelDataType
RelDataTypeSystem. deriveCovarType(RelDataTypeFactory typeFactory, RelDataType arg0Type, RelDataType arg1Type)
Returns the return type of a call to theCOVAR
aggregate function, inferred from its argument types.RelDataType
RelDataTypeSystemImpl. deriveCovarType(RelDataTypeFactory typeFactory, RelDataType arg0Type, RelDataType arg1Type)
RelDataType
DelegatingTypeSystem. deriveFractionalRankType(RelDataTypeFactory typeFactory)
RelDataType
RelDataTypeSystem. deriveFractionalRankType(RelDataTypeFactory typeFactory)
Returns the return type of theCUME_DIST
andPERCENT_RANK
aggregate functions.RelDataType
RelDataTypeSystemImpl. deriveFractionalRankType(RelDataTypeFactory typeFactory)
RelDataType
DelegatingTypeSystem. deriveRankType(RelDataTypeFactory typeFactory)
RelDataType
RelDataTypeSystem. deriveRankType(RelDataTypeFactory typeFactory)
Returns the return type of theNTILE
,RANK
,DENSE_RANK
, andROW_NUMBER
aggregate functions.RelDataType
RelDataTypeSystemImpl. deriveRankType(RelDataTypeFactory typeFactory)
RelDataType
DelegatingTypeSystem. deriveSumType(RelDataTypeFactory typeFactory, RelDataType argumentType)
RelDataType
RelDataTypeSystem. deriveSumType(RelDataTypeFactory typeFactory, RelDataType argumentType)
Returns the return type of a call to theSUM
aggregate function, inferred from its argument type.RelDataType
RelDataTypeSystemImpl. deriveSumType(RelDataTypeFactory typeFactory, RelDataType argumentType)
Constructors in org.apache.calcite.rel.type with parameters of type RelDataTypeFactory Constructor Description Builder(RelDataTypeFactory typeFactory)
Creates a Builder with the given type factory.DynamicRecordTypeImpl(RelDataTypeFactory typeFactory)
Creates a DynamicRecordTypeImpl.FieldInfoBuilder(RelDataTypeFactory typeFactory)
Deprecated.RelDataTypeHolder(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.rex
Fields in org.apache.calcite.rex declared as RelDataTypeFactory Modifier and Type Field Description protected RelDataTypeFactory
RexBuilder. typeFactory
private RelDataTypeFactory
RexExecutorImpl.DataContextInputGetter. typeFactory
Methods in org.apache.calcite.rex that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
RexBuilder. getTypeFactory()
Returns this RexBuilder's type factoryMethods in org.apache.calcite.rex with parameters of type RelDataTypeFactory Modifier and Type Method Description static RexCallBinding
RexCallBinding. create(RelDataTypeFactory typeFactory, RexCall call, java.util.List<RelCollation> inputCollations)
Creates a binding of the appropriate type.static RelDataType
RexUtil. createStructType(RelDataTypeFactory typeFactory, java.util.List<? extends RexNode> exprs, java.util.List<java.lang.String> names)
Deprecated.static RelDataType
RexUtil. createStructType(RelDataTypeFactory typeFactory, java.util.List<? extends RexNode> exprs, java.util.List<java.lang.String> names, SqlValidatorUtil.Suggester suggester)
Creates a record type with specified field names.static RelDataType
RexUtil. createStructType(RelDataTypeFactory typeFactory, java.util.List<RexNode> exprs)
Creates a record type with anonymous field names.static boolean
RexUtil. isNullabilityCast(RelDataTypeFactory typeFactory, RexNode node)
Returns whether an expression is a cast just for the purposes of nullability, not changing any other aspect of the type.static RexNode
RexUtil. removeNullabilityCast(RelDataTypeFactory typeFactory, RexNode node)
Removes any casts that change nullability but not type.Constructors in org.apache.calcite.rex with parameters of type RelDataTypeFactory Constructor Description DataContextInputGetter(RelDataType rowType, RelDataTypeFactory typeFactory)
RexBuilder(RelDataTypeFactory typeFactory)
Creates a RexBuilder.RexCallBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator, java.util.List<? extends RexNode> operands, java.util.List<RelCollation> inputCollations)
RexCastCallBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator, java.util.List<? extends RexNode> operands, RelDataType type, java.util.List<RelCollation> inputCollations)
-
Uses of RelDataTypeFactory in org.apache.calcite.schema
Methods in org.apache.calcite.schema with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
AggregateFunction. getReturnType(RelDataTypeFactory typeFactory)
Returns the return type of this function, constructed using the given type factory.RelDataType
ScalarFunction. getReturnType(RelDataTypeFactory typeFactory)
Returns the return type of this function, constructed using the given type factory.RelDataType
Table. getRowType(RelDataTypeFactory typeFactory)
Returns this table's row type.RelDataType
TableFunction. getRowType(RelDataTypeFactory typeFactory, java.util.List<java.lang.Object> arguments)
Returns the record type of the table yielded by this function when applied to given arguments.RelDataType
FunctionParameter. getType(RelDataTypeFactory typeFactory)
Returns the type of this parameter.private static boolean
Schemas. matches(RelDataTypeFactory typeFactory, Function member, java.util.List<RelDataType> argumentTypes)
static CalciteSchema.FunctionEntry
Schemas. resolve(RelDataTypeFactory typeFactory, java.lang.String name, java.util.Collection<CalciteSchema.FunctionEntry> functionEntries, java.util.List<RelDataType> argumentTypes)
java.util.List<Pair<RelDataTypeField,java.util.List<java.lang.String>>>
CustomColumnResolvingTable. resolveColumn(RelDataType rowType, RelDataTypeFactory typeFactory, java.util.List<java.lang.String> names)
Resolve a column based on the name components. -
Uses of RelDataTypeFactory in org.apache.calcite.schema.impl
Methods in org.apache.calcite.schema.impl with parameters of type RelDataTypeFactory Modifier and Type Method Description ModifiableViewTable
ModifiableViewTable. extend(java.util.List<RelDataTypeField> extendedColumns, RelDataTypeFactory typeFactory)
Extends the underlying table and returns a new view with updated row-type and column-mapping.private static ImmutableIntList
ModifiableViewTable. getNewColumnMapping(Table underlying, ImmutableIntList oldColumnMapping, java.util.List<RelDataTypeField> extendedColumns, RelDataTypeFactory typeFactory)
Creates a mapping from the view index to the index in the underlying table.RelDataType
AggregateFunctionImpl. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
ScalarFunctionImpl. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
ScalarFunctionImpl. getReturnType(RelDataTypeFactory typeFactory, SqlOperatorBinding opBinding)
RelDataType
StarTable. getRowType(RelDataTypeFactory typeFactory)
RelDataType
TableFunctionImpl. getRowType(RelDataTypeFactory typeFactory, java.util.List<java.lang.Object> arguments)
RelDataType
ViewTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.sql
Fields in org.apache.calcite.sql declared as RelDataTypeFactory Modifier and Type Field Description protected RelDataTypeFactory
SqlOperatorBinding. typeFactory
Methods in org.apache.calcite.sql that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
SqlOperatorBinding. getTypeFactory()
Methods in org.apache.calcite.sql with parameters of type RelDataTypeFactory Modifier and Type Method Description static RelDataType
SqlUtil. createNlsStringType(RelDataTypeFactory typeFactory, NlsString str)
Creates the type of anNlsString
.RelDataType
SqlAbstractDateTimeLiteral. createSqlType(RelDataTypeFactory typeFactory)
RelDataType
SqlDateLiteral. createSqlType(RelDataTypeFactory typeFactory)
RelDataType
SqlLiteral. createSqlType(RelDataTypeFactory typeFactory)
RelDataType
SqlNumericLiteral. createSqlType(RelDataTypeFactory typeFactory)
RelDataType
SqlDataTypeSpec. deriveType(RelDataTypeFactory typeFactory)
Does not throw an error if the type is not built-in.RelDataType
SqlDataTypeSpec. deriveType(RelDataTypeFactory typeFactory, boolean nullable)
Converts this type specification to aRelDataType
.java.util.List<RelDataType>
SqlAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
Deprecated.RelDataType
SqlAggFunction. getReturnType(RelDataTypeFactory typeFactory)
Deprecated.RelDataType
SqlOperator. inferReturnType(RelDataTypeFactory typeFactory, java.util.List<RelDataType> operandTypes)
Infers the type of a call to this operator with a given set of operand types.AggregateCall
SqlSplittableAggFunction.AbstractSumSplitter. other(RelDataTypeFactory typeFactory, AggregateCall e)
AggregateCall
SqlSplittableAggFunction.CountSplitter. other(RelDataTypeFactory typeFactory, AggregateCall e)
AggregateCall
SqlSplittableAggFunction. other(RelDataTypeFactory typeFactory, AggregateCall e)
Called to generate an aggregate for the other side of the join than the side aggregate call's arguments come from.AggregateCall
SqlSplittableAggFunction.SelfSplitter. other(RelDataTypeFactory typeFactory, AggregateCall e)
Constructors in org.apache.calcite.sql with parameters of type RelDataTypeFactory Constructor Description ExplicitOperatorBinding(RelDataTypeFactory typeFactory, SqlOperator operator, java.util.List<RelDataType> types)
ExplicitOperatorBinding(SqlOperatorBinding delegate, RelDataTypeFactory typeFactory, SqlOperator operator, java.util.List<RelDataType> types)
SqlOperatorBinding(RelDataTypeFactory typeFactory, SqlOperator sqlOperator)
Creates a SqlOperatorBinding. -
Uses of RelDataTypeFactory in org.apache.calcite.sql.advise
Methods in org.apache.calcite.sql.advise with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
SqlAdvisorGetHintsFunction. getRowType(RelDataTypeFactory typeFactory, java.util.List<java.lang.Object> arguments)
RelDataType
SqlAdvisorGetHintsFunction2. getRowType(RelDataTypeFactory typeFactory, java.util.List<java.lang.Object> arguments)
Constructors in org.apache.calcite.sql.advise with parameters of type RelDataTypeFactory Constructor Description SqlAdvisorValidator(SqlOperatorTable opTab, SqlValidatorCatalogReader catalogReader, RelDataTypeFactory typeFactory, SqlConformance conformance)
Creates a SqlAdvisor validator. -
Uses of RelDataTypeFactory in org.apache.calcite.sql.ddl
Methods in org.apache.calcite.sql.ddl with parameters of type RelDataTypeFactory Modifier and Type Method Description RelDataType
SqlCreateTable.MutableArrayTable. getRowType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.sql.fun
Methods in org.apache.calcite.sql.fun with parameters of type RelDataTypeFactory Modifier and Type Method Description static RelDataType
SqlTimestampAddFunction. deduceType(RelDataTypeFactory typeFactory, org.apache.calcite.avatica.util.TimeUnit timeUnit, RelDataType operandType1, RelDataType operandType2)
private RelDataType
SqlMultisetQueryConstructor. getComponentType(RelDataTypeFactory typeFactory, java.util.List<RelDataType> argTypes)
protected RelDataType
SqlMultisetValueConstructor. getComponentType(RelDataTypeFactory typeFactory, java.util.List<RelDataType> argTypes)
private Pair<RelDataType,RelDataType>
SqlMapValueConstructor. getComponentTypes(RelDataTypeFactory typeFactory, java.util.List<RelDataType> argTypes)
java.util.List<RelDataType>
SqlCountAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
java.util.List<RelDataType>
SqlFirstLastValueAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
java.util.List<RelDataType>
SqlHistogramAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
java.util.List<RelDataType>
SqlMinMaxAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
java.util.List<RelDataType>
SqlSingleValueAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
java.util.List<RelDataType>
SqlSumAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
java.util.List<RelDataType>
SqlSumEmptyIsZeroAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
RelDataType
SqlCountAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlFirstLastValueAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlHistogramAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlMinMaxAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlSingleValueAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlSumAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlSumEmptyIsZeroAggFunction. getReturnType(RelDataTypeFactory typeFactory)
private RelDataType
SqlCaseOperator. inferTypeFromOperands(RelDataTypeFactory typeFactory, java.util.List<RelDataType> argTypes)
-
Uses of RelDataTypeFactory in org.apache.calcite.sql.type
Classes in org.apache.calcite.sql.type that implement RelDataTypeFactory Modifier and Type Class Description class
SqlTypeFactoryImpl
SqlTypeFactoryImpl provides a default implementation ofRelDataTypeFactory
which supports SQL types.Methods in org.apache.calcite.sql.type with parameters of type RelDataTypeFactory Modifier and Type Method Description static RelDataType
SqlTypeUtil. addCharsetAndCollation(RelDataType type, RelDataTypeFactory typeFactory)
Adds collation and charset to a character type, returns other types unchanged.static RelDataType
SqlTypeUtil. createArrayType(RelDataTypeFactory typeFactory, RelDataType type, boolean nullable)
static RelDataType
SqlTypeUtil. createEmptyStructType(RelDataTypeFactory typeFactory)
Records a struct type with no fields.static RelDataType
SqlTypeUtil. createMapType(RelDataTypeFactory typeFactory, RelDataType keyType, RelDataType valueType, boolean nullable)
static RelDataType
SqlTypeUtil. createMultisetType(RelDataTypeFactory typeFactory, RelDataType type, boolean nullable)
static boolean
SqlTypeUtil. equalSansNullability(RelDataTypeFactory factory, RelDataType type1, RelDataType type2)
Returns whether two types are equal, ignoring nullability.private static boolean
SqlTypeUtil. flattenFields(RelDataTypeFactory typeFactory, RelDataType type, java.util.List<RelDataTypeField> list, int[] flatteningMap)
static RelDataType
SqlTypeUtil. flattenRecordType(RelDataTypeFactory typeFactory, RelDataType recordType, int[] flatteningMap)
Flattens a record type by recursively expanding any fields which are themselves record types.static RelDataType
SqlTypeUtil. leastRestrictiveForComparison(RelDataTypeFactory typeFactory, RelDataType type1, RelDataType type2)
Returns the least restrictive type T, such that a value of type T can be compared with values of typetype0
andtype1
using=
.static RelDataType
SqlTypeUtil. makeNullableIfOperandsAre(RelDataTypeFactory typeFactory, java.util.List<RelDataType> argTypes, RelDataType type)
Recreates a given RelDataType with nullability iff any of the param argTypes are nullable.static RelDataType
SqlTypeUtil. promoteToRowType(RelDataTypeFactory typeFactory, RelDataType type, java.lang.String fieldName)
Promotes a type to a row type (does nothing if it already is one).Constructors in org.apache.calcite.sql.type with parameters of type RelDataTypeFactory Constructor Description UnknownSqlType(RelDataTypeFactory typeFactory)
-
Uses of RelDataTypeFactory in org.apache.calcite.sql.validate
Fields in org.apache.calcite.sql.validate declared as RelDataTypeFactory Modifier and Type Field Description RelDataTypeFactory
SqlUserDefinedAggFunction. typeFactory
This field is is technical debt; see [CALCITE-2082] Remove RelDataTypeFactory argument from SqlUserDefinedAggFunction constructor.protected RelDataTypeFactory
SqlValidatorImpl. typeFactory
Methods in org.apache.calcite.sql.validate that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
SqlValidator. getTypeFactory()
Returns the type factory used by this validator.RelDataTypeFactory
SqlValidatorImpl. getTypeFactory()
Methods in org.apache.calcite.sql.validate with parameters of type RelDataTypeFactory Modifier and Type Method Description static java.util.List<java.lang.Object>
SqlUserDefinedTableMacro. convertArguments(RelDataTypeFactory typeFactory, java.util.List<SqlNode> operandList, Function function, SqlIdentifier opName, boolean failOnNonLiteral)
Converts arguments fromSqlNode
to java object format.static RelDataType
SqlValidatorUtil. createJoinType(RelDataTypeFactory typeFactory, RelDataType leftType, RelDataType rightType, java.util.List<java.lang.String> fieldNameList, java.util.List<RelDataTypeField> systemFieldList)
Returns the type the row which results when two relations are joined.static RelDataType
SqlValidatorUtil. createTypeFromProjection(RelDataType type, java.util.List<java.lang.String> columnNameList, RelDataTypeFactory typeFactory, boolean caseSensitive)
static RelDataType
SqlValidatorUtil. deriveJoinRowType(RelDataType leftType, RelDataType rightType, JoinRelType joinType, RelDataTypeFactory typeFactory, java.util.List<java.lang.String> fieldNameList, java.util.List<RelDataTypeField> systemFieldList)
Derives the type of a join relational expression.java.lang.reflect.Type
SqlUserDefinedTableFunction. getElementType(RelDataTypeFactory typeFactory, java.util.List<SqlNode> operandList)
Returns the row type of the table yielded by this function when applied to given arguments.static java.util.List<RelDataTypeField>
SqlValidatorUtil. getExtendedColumns(RelDataTypeFactory typeFactory, SqlValidatorTable table, SqlNodeList extendedColumns)
Gets a list of extended columns with field indices to the underlying table.java.util.List<RelDataType>
SqlUserDefinedAggFunction. getParameterTypes(RelDataTypeFactory typeFactory)
RelDataType
SqlUserDefinedAggFunction. getReturnType(RelDataTypeFactory typeFactory)
RelDataType
SqlUserDefinedTableFunction. getRowType(RelDataTypeFactory typeFactory, java.util.List<SqlNode> operandList)
Returns the record type of the table yielded by this function when applied to given arguments.TranslatableTable
SqlUserDefinedTableMacro. getTable(RelDataTypeFactory typeFactory, java.util.List<SqlNode> operandList)
Returns the table in this UDF, or null if there is no table.static RelDataTypeField
SqlValidatorUtil. getTargetField(RelDataType rowType, RelDataTypeFactory typeFactory, SqlIdentifier id, SqlValidatorCatalogReader catalogReader, RelOptTable table)
Resolve a target column name in the target table.static SqlValidatorWithHints
SqlValidatorUtil. newValidator(SqlOperatorTable opTab, SqlValidatorCatalogReader catalogReader, RelDataTypeFactory typeFactory)
Deprecated.static SqlValidatorWithHints
SqlValidatorUtil. newValidator(SqlOperatorTable opTab, SqlValidatorCatalogReader catalogReader, RelDataTypeFactory typeFactory, SqlConformance conformance)
Factory method forSqlValidator
.Constructors in org.apache.calcite.sql.validate with parameters of type RelDataTypeFactory Constructor Description SqlUserDefinedAggFunction(SqlIdentifier opName, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker, AggregateFunction function, boolean requiresOrder, boolean requiresOver, Optionality requiresGroupOrder, RelDataTypeFactory typeFactory)
Creates a SqlUserDefinedAggFunction.SqlValidatorImpl(SqlOperatorTable opTab, SqlValidatorCatalogReader catalogReader, RelDataTypeFactory typeFactory, SqlConformance conformance)
Creates a validator. -
Uses of RelDataTypeFactory in org.apache.calcite.sql2rel
Fields in org.apache.calcite.sql2rel declared as RelDataTypeFactory Modifier and Type Field Description (package private) RelDataTypeFactory
RelDecorrelator.RemoveCorrelationRexShuttle. typeFactory
protected RelDataTypeFactory
SqlToRelConverter. typeFactory
Methods in org.apache.calcite.sql2rel that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
SqlRexContext. getTypeFactory()
Returns the type factory.RelDataTypeFactory
SqlToRelConverter.AggConverter. getTypeFactory()
RelDataTypeFactory
SqlToRelConverter.Blackboard. getTypeFactory()
-
Uses of RelDataTypeFactory in org.apache.calcite.tools
Methods in org.apache.calcite.tools that return RelDataTypeFactory Modifier and Type Method Description RelDataTypeFactory
Planner. getTypeFactory()
Returns the type factory.RelDataTypeFactory
RelBuilder. getTypeFactory()
Returns the type factory.
-