Package | Description |
---|---|
org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
Modifier and Type | Field and Description |
---|---|
(package private) JavaRowFormat |
PhysTypeImpl.format |
JavaRowFormat |
EnumerableRel.Result.format |
Modifier and Type | Method and Description |
---|---|
static JavaRowFormat |
EnumerableTableScan.deduceFormat(RelOptTable table) |
private JavaRowFormat |
EnumerableTableScan.format() |
JavaRowFormat |
PhysTypeImpl.getFormat() |
JavaRowFormat |
PhysType.getFormat()
Returns the format.
|
JavaRowFormat |
JavaRowFormat.optimize(RelDataType rowType) |
JavaRowFormat |
EnumerableRel.Prefer.prefer(JavaRowFormat format) |
JavaRowFormat |
EnumerableRel.Prefer.preferArray() |
JavaRowFormat |
EnumerableRel.Prefer.preferCustom() |
static JavaRowFormat |
JavaRowFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaRowFormat[] |
JavaRowFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Expression |
PhysTypeImpl.convertTo(Expression exp,
JavaRowFormat targetFormat) |
Expression |
PhysType.convertTo(Expression expression,
JavaRowFormat targetFormat)
Converts an enumerable of this physical type to an enumerable that uses
the
targetFormat for representing its rows. |
private Expression |
EnumerableTableScan.fieldExpression(ParameterExpression row_,
int i,
PhysType physType,
JavaRowFormat format) |
Expression |
PhysTypeImpl.generateSelector(ParameterExpression parameter,
java.util.List<java.lang.Integer> fields,
JavaRowFormat targetFormat) |
Expression |
PhysType.generateSelector(ParameterExpression parameter,
java.util.List<java.lang.Integer> fields,
JavaRowFormat targetFormat)
Generates a lambda expression that is a selector for the given fields from
an expression.
|
Expression |
PhysTypeImpl.generateSelector(ParameterExpression parameter,
java.util.List<java.lang.Integer> fields,
java.util.List<java.lang.Integer> usedFields,
JavaRowFormat targetFormat) |
Expression |
PhysType.generateSelector(ParameterExpression parameter,
java.util.List<java.lang.Integer> fields,
java.util.List<java.lang.Integer> usedFields,
JavaRowFormat targetFormat)
Generates a lambda expression that is a selector for the given fields from
an expression.
|
EnumerableRel.Prefer |
EnumerableRel.Prefer.of(JavaRowFormat format) |
static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
RelDataType rowType,
JavaRowFormat format) |
static PhysType |
PhysTypeImpl.of(JavaTypeFactory typeFactory,
RelDataType rowType,
JavaRowFormat format,
boolean optimize) |
JavaRowFormat |
EnumerableRel.Prefer.prefer(JavaRowFormat format) |
PhysType |
PhysTypeImpl.project(java.util.List<java.lang.Integer> integers,
boolean indicator,
JavaRowFormat format) |
PhysType |
PhysType.project(java.util.List<java.lang.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(java.util.List<java.lang.Integer> integers,
JavaRowFormat format) |
PhysType |
PhysType.project(java.util.List<java.lang.Integer> integers,
JavaRowFormat format)
Projects a given collection of fields from this input record, into
a particular preferred output format.
|
Pair<java.lang.reflect.Type,java.util.List<Expression>> |
PhysTypeImpl.selector(ParameterExpression parameter,
java.util.List<java.lang.Integer> fields,
JavaRowFormat targetFormat) |
Pair<java.lang.reflect.Type,java.util.List<Expression>> |
PhysType.selector(ParameterExpression parameter,
java.util.List<java.lang.Integer> fields,
JavaRowFormat targetFormat)
Generates a selector for the given fields from an expression.
|
Constructor and Description |
---|
PhysTypeImpl(JavaTypeFactory typeFactory,
RelDataType rowType,
java.lang.reflect.Type javaRowClass,
JavaRowFormat format)
Creates a PhysTypeImpl.
|
Result(BlockStatement block,
PhysType physType,
JavaRowFormat format) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.