Package | Description |
---|---|
org.apache.calcite |
Main package for Calcite, the dynamic data management platform.
|
org.apache.calcite.adapter.clone |
Provides utility classes.
|
org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
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.schema |
Schema SPI.
|
Modifier and Type | Method and Description |
---|---|
JavaTypeFactory |
DataContext.getTypeFactory()
Returns the type factory.
|
Modifier and Type | Field and Description |
---|---|
private JavaTypeFactory |
ColumnLoader.typeFactory |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
(package private) JavaTypeFactory |
RexToLixTranslator.typeFactory |
private JavaTypeFactory |
PhysTypeImpl.typeFactory |
private JavaTypeFactory |
EnumerableAggregate.AggContextImpl.typeFactory |
Modifier and Type | Method and Description |
---|---|
JavaTypeFactory |
JavaRelImplementor.getTypeFactory() |
Modifier and Type | Method and Description |
---|---|
private void |
EnumerableWindow.declareAndResetState(JavaTypeFactory typeFactory,
BlockBuilder builder,
EnumerableRel.Result result,
int windowIdx,
java.util.List<AggImpState> aggs,
PhysType outputPhysType,
java.util.List<Expression> outputRow) |
(package private) static java.util.List<java.lang.reflect.Type> |
EnumUtils.fieldTypes(JavaTypeFactory typeFactory,
java.util.List<? extends RelDataType> inputTypes) |
static RexToLixTranslator |
RexToLixTranslator.forAggregation(JavaTypeFactory typeFactory,
BlockBuilder list,
RexToLixTranslator.InputGetter inputGetter,
SqlConformance conformance)
Creates a translator for translating aggregate functions.
|
private java.util.function.Function<BlockBuilder,WinAggFrameResultContext> |
EnumerableWindow.getBlockBuilderWinAggFrameResultContextFunction(JavaTypeFactory typeFactory,
SqlConformance conformance,
EnumerableRel.Result result,
java.util.List<Expression> translatedConstants,
Expression comparator_,
Expression rows_,
ParameterExpression i_,
Expression startX,
Expression endX,
Expression minX,
Expression maxX,
Expression hasRows,
Expression frameRowCount,
Expression partitionRowCount,
DeclarationStatement jDecl,
PhysType inputPhysType) |
(package private) static java.lang.reflect.Type |
EnumUtils.javaClass(JavaTypeFactory typeFactory,
RelDataType type) |
(package private) abstract java.lang.reflect.Type |
JavaRowFormat.javaFieldClass(JavaTypeFactory typeFactory,
RelDataType type,
int index)
Returns the java class that is used to physically store the given field.
|
(package private) abstract java.lang.reflect.Type |
JavaRowFormat.javaRowClass(JavaTypeFactory typeFactory,
RelDataType type) |
static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
RelDataType rowType,
JavaRowFormat format) |
static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
RelDataType rowType,
JavaRowFormat format,
boolean optimize) |
(package private) static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
java.lang.reflect.Type javaRowClass) |
static Expression |
RexToLixTranslator.translateCondition(RexProgram program,
JavaTypeFactory typeFactory,
BlockBuilder list,
RexToLixTranslator.InputGetter inputGetter,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates,
SqlConformance conformance) |
static Expression |
RexToLixTranslator.translateLiteral(RexLiteral literal,
RelDataType type,
JavaTypeFactory typeFactory,
RexImpTable.NullAs nullAs)
Translates a literal.
|
static java.util.List<Expression> |
RexToLixTranslator.translateProjects(RexProgram program,
JavaTypeFactory typeFactory,
SqlConformance conformance,
BlockBuilder list,
PhysType outputPhysType,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates)
Translates a
RexProgram to a sequence of expressions and
declarations. |
Constructor and Description |
---|
AggContextImpl(AggImpState agg,
JavaTypeFactory typeFactory) |
PhysTypeImpl(JavaTypeFactory typeFactory,
RelDataType rowType,
java.lang.reflect.Type javaRowClass,
JavaRowFormat format)
Creates a PhysTypeImpl.
|
RexToLixTranslator(RexProgram program,
JavaTypeFactory typeFactory,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
BlockBuilder list,
java.util.Map<? extends RexNode,java.lang.Boolean> exprNullableMap,
RexBuilder builder,
SqlConformance conformance,
RexToLixTranslator parent,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Pair<org.apache.calcite.avatica.ColumnMetaData.Rep,java.lang.Integer>> |
JdbcTable.fieldClasses(JavaTypeFactory typeFactory) |
Constructor and Description |
---|
JdbcImplementor(SqlDialect dialect,
JavaTypeFactory typeFactory) |
Modifier and Type | Class and Description |
---|---|
class |
JavaTypeFactoryImpl
Implementation of
JavaTypeFactory . |
Modifier and Type | Field and Description |
---|---|
JavaTypeFactory |
CalciteConnectionImpl.typeFactory |
private JavaTypeFactory |
CalciteConnectionImpl.DataContextImpl.typeFactory |
Modifier and Type | Method and Description |
---|---|
JavaTypeFactory |
CalciteConnectionImpl.getTypeFactory() |
JavaTypeFactory |
CalciteConnectionImpl.DataContextImpl.getTypeFactory() |
JavaTypeFactory |
CalciteConnectionImpl.ContextImpl.getTypeFactory() |
JavaTypeFactory |
CalciteConnectionImpl.SlimDataContext.getTypeFactory() |
JavaTypeFactory |
CalciteConnection.getTypeFactory()
Returns the type factory.
|
JavaTypeFactory |
CalcitePrepare.Context.getTypeFactory() |
Modifier and Type | Method and Description |
---|---|
(package private) CalciteConnection |
Driver.connect(CalciteSchema rootSchema,
JavaTypeFactory typeFactory)
Creates an internal connection.
|
static CalciteConnection |
CalciteMetaImpl.connect(CalciteSchema schema,
JavaTypeFactory typeFactory)
A trojan-horse method, subject to change without notice.
|
(package private) CalciteConnection |
Driver.connect(CalciteSchema rootSchema,
JavaTypeFactory typeFactory,
java.util.Properties properties)
Creates an internal connection.
|
abstract org.apache.calcite.avatica.AvaticaConnection |
CalciteFactory.newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
java.lang.String url,
java.util.Properties info,
CalciteSchema rootSchema,
JavaTypeFactory typeFactory)
Creates a connection with a root schema.
|
CalciteJdbc41Factory.CalciteJdbc41Connection |
CalciteJdbc41Factory.newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
java.lang.String url,
java.util.Properties info,
CalciteSchema rootSchema,
JavaTypeFactory typeFactory) |
Constructor and Description |
---|
CalciteConnectionImpl(Driver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
java.lang.String url,
java.util.Properties info,
CalciteSchema rootSchema,
JavaTypeFactory typeFactory)
Creates a CalciteConnectionImpl.
|
CalciteJdbc41Connection(Driver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
java.lang.String url,
java.util.Properties info,
CalciteSchema rootSchema,
JavaTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
JavaTypeFactory |
VisitorDataContext.getTypeFactory() |
Modifier and Type | Field and Description |
---|---|
private JavaTypeFactory |
PlannerImpl.typeFactory |
(package private) JavaTypeFactory |
LixToRelTranslator.typeFactory |
Modifier and Type | Method and Description |
---|---|
JavaTypeFactory |
PlannerImpl.getTypeFactory() |
Modifier and Type | Method and Description |
---|---|
private org.apache.calcite.avatica.ColumnMetaData.AvaticaType |
CalcitePrepareImpl.avaticaType(JavaTypeFactory typeFactory,
RelDataType type,
RelDataType fieldType) |
private java.util.List<org.apache.calcite.avatica.ColumnMetaData> |
CalcitePrepareImpl.getColumnMetaDataList(JavaTypeFactory typeFactory,
RelDataType x,
RelDataType jdbcType,
java.util.List<java.util.List<java.lang.String>> originList) |
private org.apache.calcite.avatica.ColumnMetaData |
CalcitePrepareImpl.metaData(JavaTypeFactory typeFactory,
int ordinal,
java.lang.String fieldName,
RelDataType type,
RelDataType fieldType,
java.util.List<java.lang.String> origins) |
Constructor and Description |
---|
CalciteSqlValidator(SqlOperatorTable opTab,
CalciteCatalogReader catalogReader,
JavaTypeFactory typeFactory,
SqlConformance conformance) |
Modifier and Type | Method and Description |
---|---|
JavaTypeFactory |
Schemas.DummyDataContext.getTypeFactory() |
Modifier and Type | Method and Description |
---|---|
private static CalcitePrepare.Context |
Schemas.makeContext(CalciteConnectionConfig connectionConfig,
JavaTypeFactory typeFactory,
DataContext dataContext,
CalciteSchema schema,
java.util.List<java.lang.String> schemaPath,
java.util.List<java.lang.String> objectPath_) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.