| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
static RelNode |
RelOptUtil.permute(RelNode rel,
Permutation permutation,
List<String> fieldNames)
Creates a relational expression which permutes the output fields of a
relational expression according to a permutation.
|
| Modifier and Type | Method and Description |
|---|---|
Permutation |
Project.getPermutation()
Returns a permutation, if this projection is merely a permutation of its
input fields; otherwise null.
|
static Permutation |
Project.getPermutation(int inputFieldCount,
List<? extends RexNode> projects)
Returns a permutation, if this projection is merely a permutation of its
input fields; otherwise null.
|
| Modifier and Type | Method and Description |
|---|---|
Permutation |
RexProgram.getPermutation()
Returns a permutation, if this program is a permutation, otherwise null.
|
| Constructor and Description |
|---|
RexPermutationShuttle(Permutation permutation) |
| Modifier and Type | Method and Description |
|---|---|
Permutation |
Permutation.inverse()
Returns the inverse permutation.
|
Permutation |
Permutation.product(Permutation permutation)
Returns the product of this Permutation with a given Permutation.
|
| Modifier and Type | Method and Description |
|---|---|
Permutation |
Permutation.product(Permutation permutation)
Returns the product of this Permutation with a given Permutation.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.