| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PhysTypeImpl
Implementation of
PhysType. |
| Modifier and Type | Field and Description |
|---|---|
PhysType |
EnumerableRel.Result.physType
Describes the Java type returned by this relational expression, and the
mapping between it and the fields of the logical row type.
|
| Modifier and Type | Method and Description |
|---|---|
PhysType |
PhysTypeImpl.makeNullable(boolean nullable) |
PhysType |
PhysType.makeNullable(boolean nullable)
Returns a copy of this type that allows nulls if
nullable is
true. |
static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
RelDataType rowType,
JavaRowFormat format) |
static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
RelDataType rowType,
JavaRowFormat format,
boolean optimize) |
PhysType |
PhysTypeImpl.project(List<Integer> integers,
boolean indicator,
JavaRowFormat format) |
PhysType |
PhysType.project(List<Integer> integers,
boolean indicator,
JavaRowFormat format)
Projects a given collection of fields from this input record, optionally
with indicator fields, into a particular preferred output format.
|
PhysType |
PhysTypeImpl.project(List<Integer> integers,
JavaRowFormat format) |
PhysType |
PhysType.project(List<Integer> integers,
JavaRowFormat format)
Projects a given collection of fields from this input record, into
a particular preferred output format.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
PhysTypeImpl.convertTo(Expression exp,
PhysType targetPhysType) |
Expression |
PhysType.convertTo(Expression expression,
PhysType targetPhysType)
Converts an enumerable of this physical type to an enumerable that uses a
given physical type for its rows.
|
void |
EnumerableRelImplementor.registerCorrelVariable(String name,
ParameterExpression pe,
BlockBuilder corrBlock,
PhysType physType) |
EnumerableRel.Result |
EnumerableRelImplementor.result(PhysType physType,
BlockStatement block) |
static List<Expression> |
RexToLixTranslator.translateProjects(RexProgram program,
JavaTypeFactory typeFactory,
BlockBuilder list,
PhysType outputPhysType,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
Function1<String,RexToLixTranslator.InputGetter> correlates)
Translates a
RexProgram to a sequence of expressions and
declarations. |
| Constructor and Description |
|---|
EnumerableRel.Result(BlockStatement block,
PhysType physType,
JavaRowFormat format) |
| Constructor and Description |
|---|
RexToLixTranslator.InputGetterImpl(List<Pair<Expression,PhysType>> inputs) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.