| Package | Description |
|---|---|
| org.apache.calcite.adapter.clone |
Provides utility classes.
|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.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.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 externalize
RelNodes 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.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.
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
ArrayTable.getRowType(RelDataTypeFactory typeFactory) |
RelDataType |
ListTable.getRowType(RelDataTypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
AbstractElasticsearchTable.getRowType(RelDataTypeFactory relDataTypeFactory) |
| Modifier and Type | Method and Description |
|---|---|
private static RelDataType |
RexImpTable.toSql(RelDataTypeFactory typeFactory,
RelDataType type) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JavaTypeFactory
Type factory that can register Java classes as record types.
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
ReflectiveSchema.ReflectiveTable.getRowType(RelDataTypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
JdbcTable.getRowType(RelDataTypeFactory typeFactory) |
private RelDataType |
JdbcSchema.parseTypeString(RelDataTypeFactory typeFactory,
String typeString)
Given "INTEGER", returns BasicSqlType(INTEGER).
|
private RelDataType |
JdbcSchema.sqlType(RelDataTypeFactory typeFactory,
int dataType,
int precision,
int scale,
String typeString) |
| Modifier and Type | Class and Description |
|---|---|
class |
JavaTypeFactoryImpl
Implementation of
JavaTypeFactory. |
| Modifier and Type | Field and Description |
|---|---|
RelDataTypeFactory |
CalcitePrepare.ParseResult.typeFactory |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Field and Description |
|---|---|
private RelDataTypeFactory |
RelOptCluster.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
RelOptCluster.getTypeFactory() |
RelDataTypeFactory |
RelOptSchema.getTypeFactory()
Returns the
type factory used to generate
types for this schema. |
| Modifier and Type | Method and 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 Map<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.
|
| Constructor and Description |
|---|
RelOptCluster(RelOptPlanner planner,
RelDataTypeFactory typeFactory,
RexBuilder rexBuilder,
AtomicInteger nextCorrel,
Map<String,RelNode> mapCorrelToRel)
Creates a cluster.
|
RelOptCluster(RelOptQuery query,
RelOptPlanner planner,
RelDataTypeFactory typeFactory,
RexBuilder rexBuilder)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected RelDataTypeFactory |
CalcitePrepareImpl.CalcitePreparingStmt.typeFactory |
protected RelDataTypeFactory |
CalciteCatalogReader.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
CalciteCatalogReader.getTypeFactory() |
| Modifier and Type | Method and 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 a
SqlOperator. |
private static List<RelDataType> |
CalciteCatalogReader.toSql(RelDataTypeFactory typeFactory,
List<RelDataType> types) |
private static RelDataType |
CalciteCatalogReader.toSql(RelDataTypeFactory typeFactory,
RelDataType type) |
| Constructor and Description |
|---|
CalciteCatalogReader(CalciteSchema rootSchema,
List<String> defaultSchema,
RelDataTypeFactory typeFactory,
CalciteConnectionConfig config) |
CalciteCatalogReader(CalciteSchema rootSchema,
SqlNameMatcher nameMatcher,
List<List<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) |
| Modifier and Type | Method and Description |
|---|---|
static RelDataType |
Join.createJoinType(RelDataTypeFactory typeFactory,
RelDataType leftType,
RelDataType rightType,
List<String> fieldNameList,
List<RelDataTypeField> systemFieldList)
Deprecated.
|
static RelDataType |
Join.deriveJoinRowType(RelDataType leftType,
RelDataType rightType,
JoinRelType joinType,
RelDataTypeFactory typeFactory,
List<String> fieldNameList,
List<RelDataTypeField> systemFieldList)
Deprecated.
|
static RelDataType |
Aggregate.deriveRowType(RelDataTypeFactory typeFactory,
RelDataType inputRowType,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Computes the row type of an
Aggregate before it exists. |
| Constructor and Description |
|---|
AggCallBinding(RelDataTypeFactory typeFactory,
SqlAggFunction aggFunction,
List<RelDataType> operands,
int groupCount,
boolean filter)
Creates an AggCallBinding
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
RelJson.toType(RelDataTypeFactory typeFactory,
Object o) |
| Modifier and Type | Field and Description |
|---|---|
(package private) RelDataTypeFactory |
LoptMultiJoin.factory
Type factory
|
private RelDataTypeFactory |
ReduceExpressionsRule.ReducibleExprLocator.typeFactory |
private RelDataTypeFactory |
CalcRelSplitter.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
private AggregateCall |
AggregateReduceFunctionsRule.createAggregateCallWithBinding(RelDataTypeFactory typeFactory,
SqlAggFunction aggFunction,
RelDataType operandType,
Aggregate oldAggRel,
AggregateCall oldCall,
int argOrdinal) |
protected static void |
ReduceExpressionsRule.findReducibleExps(RelDataTypeFactory typeFactory,
List<RexNode> exps,
com.google.common.collect.ImmutableMap<RexNode,RexNode> constants,
List<RexNode> constExps,
List<Boolean> addCasts,
List<RexNode> removableCasts)
Locates expressions that can be reduced to literals or converted to
expressions with redundant casts removed.
|
| Constructor and Description |
|---|
ReducibleExprLocator(RelDataTypeFactory typeFactory,
com.google.common.collect.ImmutableMap<RexNode,RexNode> constants,
List<RexNode> constExprs,
List<Boolean> addCasts,
List<RexNode> removableCasts) |
| Modifier and Type | Class and Description |
|---|---|
class |
RelDataTypeFactoryImpl
Abstract base for implementations of
RelDataTypeFactory. |
| Modifier and Type | Field and Description |
|---|---|
private RelDataTypeFactory |
RelDataTypeHolder.typeFactory |
private RelDataTypeFactory |
RelDataTypeFactory.Builder.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
RelDataTypeSystem.deriveAvgAggType(RelDataTypeFactory typeFactory,
RelDataType argumentType)
Returns the return type of a call to the
AVG, STDDEV or
VAR aggregate functions, inferred from its argument type. |
RelDataType |
RelDataTypeSystemImpl.deriveAvgAggType(RelDataTypeFactory typeFactory,
RelDataType argumentType) |
RelDataType |
RelDataTypeSystem.deriveCovarType(RelDataTypeFactory typeFactory,
RelDataType arg0Type,
RelDataType arg1Type)
Returns the return type of a call to the
COVAR aggregate function,
inferred from its argument types. |
RelDataType |
RelDataTypeSystemImpl.deriveCovarType(RelDataTypeFactory typeFactory,
RelDataType arg0Type,
RelDataType arg1Type) |
RelDataType |
RelDataTypeSystem.deriveFractionalRankType(RelDataTypeFactory typeFactory)
Returns the return type of the
CUME_DIST and PERCENT_RANK
aggregate functions. |
RelDataType |
RelDataTypeSystemImpl.deriveFractionalRankType(RelDataTypeFactory typeFactory) |
RelDataType |
RelDataTypeSystem.deriveRankType(RelDataTypeFactory typeFactory)
Returns the return type of the
NTILE, RANK,
DENSE_RANK, and ROW_NUMBER aggregate functions. |
RelDataType |
RelDataTypeSystemImpl.deriveRankType(RelDataTypeFactory typeFactory) |
RelDataType |
RelDataTypeSystem.deriveSumType(RelDataTypeFactory typeFactory,
RelDataType argumentType)
Returns the return type of a call to the
SUM aggregate function,
inferred from its argument type. |
RelDataType |
RelDataTypeSystemImpl.deriveSumType(RelDataTypeFactory typeFactory,
RelDataType argumentType) |
| Constructor and 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) |
| Modifier and Type | Field and Description |
|---|---|
protected RelDataTypeFactory |
RexBuilder.typeFactory |
private RelDataTypeFactory |
RexExecutorImpl.DataContextInputGetter.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
RexBuilder.getTypeFactory()
Returns this RexBuilder's type factory
|
| Modifier and Type | Method and Description |
|---|---|
static RexCallBinding |
RexCallBinding.create(RelDataTypeFactory typeFactory,
RexCall call,
List<RelCollation> inputCollations)
Creates a binding of the appropriate type.
|
static RelDataType |
RexUtil.createStructType(RelDataTypeFactory typeFactory,
List<? extends RexNode> exprs,
List<String> names)
Deprecated.
|
static RelDataType |
RexUtil.createStructType(RelDataTypeFactory typeFactory,
List<? extends RexNode> exprs,
List<String> names,
SqlValidatorUtil.Suggester suggester)
Creates a record type with specified field names.
|
static RelDataType |
RexUtil.createStructType(RelDataTypeFactory typeFactory,
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.
|
| Constructor and Description |
|---|
DataContextInputGetter(RelDataType rowType,
RelDataTypeFactory typeFactory) |
RexBuilder(RelDataTypeFactory typeFactory)
Creates a RexBuilder.
|
RexCallBinding(RelDataTypeFactory typeFactory,
SqlOperator sqlOperator,
List<? extends RexNode> operands,
List<RelCollation> inputCollations) |
RexCastCallBinding(RelDataTypeFactory typeFactory,
SqlOperator sqlOperator,
List<? extends RexNode> operands,
RelDataType type,
List<RelCollation> inputCollations) |
| Modifier and Type | Method and 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,
List<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,
List<RelDataType> argumentTypes) |
static CalciteSchema.FunctionEntry |
Schemas.resolve(RelDataTypeFactory typeFactory,
String name,
Collection<CalciteSchema.FunctionEntry> functionEntries,
List<RelDataType> argumentTypes) |
List<Pair<RelDataTypeField,List<String>>> |
CustomColumnResolvingTable.resolveColumn(RelDataType rowType,
RelDataTypeFactory typeFactory,
List<String> names)
Resolve a column based on the name components.
|
| Modifier and Type | Method and Description |
|---|---|
ModifiableViewTable |
ModifiableViewTable.extend(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,
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 |
ViewTable.getRowType(RelDataTypeFactory typeFactory) |
RelDataType |
TableFunctionImpl.getRowType(RelDataTypeFactory typeFactory,
List<Object> arguments) |
| Modifier and Type | Field and Description |
|---|---|
protected RelDataTypeFactory |
SqlOperatorBinding.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
SqlOperatorBinding.getTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static RelDataType |
SqlUtil.createNlsStringType(RelDataTypeFactory typeFactory,
NlsString str)
Creates the type of an
NlsString. |
RelDataType |
SqlDateLiteral.createSqlType(RelDataTypeFactory typeFactory) |
RelDataType |
SqlNumericLiteral.createSqlType(RelDataTypeFactory typeFactory) |
RelDataType |
SqlLiteral.createSqlType(RelDataTypeFactory typeFactory) |
RelDataType |
SqlAbstractDateTimeLiteral.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 a
RelDataType. |
List<RelDataType> |
SqlAggFunction.getParameterTypes(RelDataTypeFactory typeFactory)
Deprecated.
|
RelDataType |
SqlAggFunction.getReturnType(RelDataTypeFactory typeFactory)
Deprecated.
|
RelDataType |
SqlOperator.inferReturnType(RelDataTypeFactory typeFactory,
List<RelDataType> operandTypes)
Infers the type of a call to this operator with a given set of operand
types.
|
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.CountSplitter.other(RelDataTypeFactory typeFactory,
AggregateCall e) |
AggregateCall |
SqlSplittableAggFunction.SelfSplitter.other(RelDataTypeFactory typeFactory,
AggregateCall e) |
AggregateCall |
SqlSplittableAggFunction.AbstractSumSplitter.other(RelDataTypeFactory typeFactory,
AggregateCall e) |
| Constructor and Description |
|---|
ExplicitOperatorBinding(RelDataTypeFactory typeFactory,
SqlOperator operator,
List<RelDataType> types) |
ExplicitOperatorBinding(SqlOperatorBinding delegate,
RelDataTypeFactory typeFactory,
SqlOperator operator,
List<RelDataType> types) |
SqlOperatorBinding(RelDataTypeFactory typeFactory,
SqlOperator sqlOperator)
Creates a SqlOperatorBinding.
|
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
SqlAdvisorGetHintsFunction.getRowType(RelDataTypeFactory typeFactory,
List<Object> arguments) |
| Constructor and Description |
|---|
SqlAdvisorValidator(SqlOperatorTable opTab,
SqlValidatorCatalogReader catalogReader,
RelDataTypeFactory typeFactory,
SqlConformance conformance)
Creates a SqlAdvisor validator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlTypeFactoryImpl
SqlTypeFactoryImpl provides a default implementation of
RelDataTypeFactory which supports SQL types. |
| Modifier and Type | Method and 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,
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.makeNullableIfOperandsAre(RelDataTypeFactory typeFactory,
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,
String fieldName)
Promotes a type to a row type (does nothing if it already is one).
|
| Constructor and Description |
|---|
UnknownSqlType(RelDataTypeFactory typeFactory) |
| Modifier and Type | Field and Description |
|---|---|
RelDataTypeFactory |
SqlUserDefinedAggFunction.typeFactory
This field is is technical debt; see [CALCITE-2082] Remove
RelDataTypeFactory argument from SqlUserDefinedAggFunction constructor.
|
protected RelDataTypeFactory |
SqlValidatorImpl.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
SqlValidator.getTypeFactory()
Returns the type factory used by this validator.
|
RelDataTypeFactory |
SqlValidatorImpl.getTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static List<Object> |
SqlUserDefinedTableMacro.convertArguments(RelDataTypeFactory typeFactory,
List<SqlNode> operandList,
Function function,
SqlIdentifier opName,
boolean failOnNonLiteral)
Converts arguments from
SqlNode to
java object format. |
static RelDataType |
SqlValidatorUtil.createJoinType(RelDataTypeFactory typeFactory,
RelDataType leftType,
RelDataType rightType,
List<String> fieldNameList,
List<RelDataTypeField> systemFieldList)
Returns the type the row which results when two relations are joined.
|
static RelDataType |
SqlValidatorUtil.createTypeFromProjection(RelDataType type,
List<String> columnNameList,
RelDataTypeFactory typeFactory,
boolean caseSensitive) |
static RelDataType |
SqlValidatorUtil.deriveJoinRowType(RelDataType leftType,
RelDataType rightType,
JoinRelType joinType,
RelDataTypeFactory typeFactory,
List<String> fieldNameList,
List<RelDataTypeField> systemFieldList)
Derives the type of a join relational expression.
|
Type |
SqlUserDefinedTableFunction.getElementType(RelDataTypeFactory typeFactory,
List<SqlNode> operandList)
Returns the row type of the table yielded by this function when
applied to given arguments.
|
static List<RelDataTypeField> |
SqlValidatorUtil.getExtendedColumns(RelDataTypeFactory typeFactory,
SqlValidatorTable table,
SqlNodeList extendedColumns)
Gets a list of extended columns with field indices to the underlying table.
|
List<RelDataType> |
SqlUserDefinedAggFunction.getParameterTypes(RelDataTypeFactory typeFactory) |
RelDataType |
SqlUserDefinedAggFunction.getReturnType(RelDataTypeFactory typeFactory) |
RelDataType |
SqlUserDefinedTableFunction.getRowType(RelDataTypeFactory typeFactory,
List<SqlNode> operandList)
Returns the record type of the table yielded by this function when
applied to given arguments.
|
TranslatableTable |
SqlUserDefinedTableMacro.getTable(RelDataTypeFactory typeFactory,
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 for
SqlValidator. |
| Constructor and Description |
|---|
SqlUserDefinedAggFunction(SqlIdentifier opName,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
AggregateFunction function,
boolean requiresOrder,
boolean requiresOver,
RelDataTypeFactory typeFactory)
Creates a SqlUserDefinedAggFunction.
|
SqlValidatorImpl(SqlOperatorTable opTab,
SqlValidatorCatalogReader catalogReader,
RelDataTypeFactory typeFactory,
SqlConformance conformance)
Creates a validator.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) RelDataTypeFactory |
RelDecorrelator.RemoveCorrelationRexShuttle.typeFactory |
protected RelDataTypeFactory |
SqlToRelConverter.typeFactory |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
SqlRexContext.getTypeFactory()
Returns the type factory.
|
RelDataTypeFactory |
SqlToRelConverter.Blackboard.getTypeFactory() |
RelDataTypeFactory |
SqlToRelConverter.AggConverter.getTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
RelDataTypeFactory |
RelBuilder.getTypeFactory()
Returns the type factory.
|
RelDataTypeFactory |
Planner.getTypeFactory()
Returns the type factory.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.