| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
RexNode |
RelOptUtil.InputReferencedVisitor.visitInputRef(RexInputRef inputRef) |
Void |
RelOptUtil.InputFinder.visitInputRef(RexInputRef inputRef) |
RexNode |
RelOptUtil.RexInputConverter.visitInputRef(RexInputRef var) |
| Modifier and Type | Method and Description |
|---|---|
static RexNode |
RelOptUtil.splitCorrelatedFilterCondition(LogicalFilter filter,
List<RexInputRef> joinKeys,
List<RexNode> correlatedJoinKeys) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RelMdUtil.areColumnsDefinitelyUnique(RelNode rel,
List<RexInputRef> columnRefs) |
static boolean |
RelMdUtil.areColumnsDefinitelyUniqueWhenNullsFiltered(RelNode rel,
List<RexInputRef> columnRefs) |
static Boolean |
RelMdUtil.areColumnsUnique(RelNode rel,
List<RexInputRef> columnRefs) |
static Boolean |
RelMdUtil.areColumnsUniqueWhenNullsFiltered(RelNode rel,
List<RexInputRef> columnRefs) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<RelDataTypeField,RexInputRef> |
RexBuilder.TO_INPUT_REF |
| Modifier and Type | Method and Description |
|---|---|
RexInputRef |
RexBuilder.makeInputRef(RelDataType type,
int i)
Creates a reference to a given field of the input record.
|
RexInputRef |
RexBuilder.makeInputRef(RelNode input,
int i)
Creates a reference to a given field of the input relational expression.
|
static RexInputRef |
RexInputRef.of(int index,
List<RelDataTypeField> fields)
Creates a reference to a given field in a list of fields.
|
static RexInputRef |
RexInputRef.of(int index,
RelDataType rowType)
Creates a reference to a given field in a row type.
|
| Modifier and Type | Method and Description |
|---|---|
List<RexInputRef> |
RexBuilder.identityProjects(RelDataType rowType)
Creates a list of
RexInputRef expressions,
projecting the fields of a given record type. |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
RexToSqlNodeConverterImpl.convertInputRef(RexInputRef ref) |
SqlNode |
RexToSqlNodeConverter.convertInputRef(RexInputRef ref)
Converts a
RexInputRef to a SqlIdentifier. |
R |
RexVisitorImpl.visitInputRef(RexInputRef inputRef) |
RexNode |
RexShuttle.visitInputRef(RexInputRef inputRef) |
Boolean |
RexChecker.visitInputRef(RexInputRef ref) |
R |
RexVisitor.visitInputRef(RexInputRef inputRef) |
RexNode |
RexPermuteInputsShuttle.visitInputRef(RexInputRef local) |
| Modifier and Type | Method and Description |
|---|---|
protected RexNode |
SqlToRelConverter.adjustInputRef(SqlToRelConverter.Blackboard bb,
RexInputRef inputRef)
Adjusts the type of a reference to an input field to account for nulls
introduced by outer joins; and adjusts the offset to match the physical
implementation.
|
protected RexNode |
RelDecorrelator.removeCorrelationExpr(RexNode exp,
boolean projectPulledAboveLeftCorrelator,
RexInputRef nullIndicator) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.