public abstract class MutableRels extends Object
MutableRels.| Constructor and Description |
|---|
MutableRels() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(MutableRel ancestor,
MutableRel target) |
static MutableRel |
createCastRel(MutableRel rel,
RelDataType castRowType,
boolean rename)
|
static MutableRel |
createProject(MutableRel child,
List<Integer> posList)
|
static List<RexNode> |
createProjectExprs(MutableRel child,
List<Integer> posList)
Construct expression list of Project by the given fields of the input.
|
static List<RexNode> |
createProjects(MutableRel child,
List<RexNode> projects)
Construct expression list of Project by the given fields of the input.
|
static List<MutableRel> |
descendants(MutableRel query) |
static RelNode |
fromMutable(MutableRel node) |
static RelNode |
fromMutable(MutableRel node,
RelBuilder relBuilder) |
static boolean |
isTrivial(MutableProject project)
|
static @Nullable MutableRel |
preOrderTraverseNext(MutableRel node) |
static MutableRel |
strip(MutableProject project)
|
static MutableRel |
toMutable(RelNode rel) |
public static boolean contains(MutableRel ancestor, MutableRel target)
public static @Nullable MutableRel preOrderTraverseNext(MutableRel node)
public static List<MutableRel> descendants(MutableRel query)
public static MutableRel strip(MutableProject project)
public static boolean isTrivial(MutableProject project)
public static MutableRel createProject(MutableRel child, List<Integer> posList)
public static List<RexNode> createProjectExprs(MutableRel child, List<Integer> posList)
public static List<RexNode> createProjects(MutableRel child, List<RexNode> projects)
public static MutableRel createCastRel(MutableRel rel, RelDataType castRowType, boolean rename)
public static RelNode fromMutable(MutableRel node)
public static RelNode fromMutable(MutableRel node, RelBuilder relBuilder)
public static MutableRel toMutable(RelNode rel)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.