public class MutableSort extends MutableRel
Sort.| Modifier and Type | Field and Description |
|---|---|
RelCollation |
collation |
@Nullable RexNode |
fetch |
protected MutableRel |
input |
@Nullable RexNode |
offset |
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type| Modifier and Type | Method and Description |
|---|---|
void |
childrenAccept(MutableRelVisitor visitor) |
MutableRel |
clone() |
StringBuilder |
digest(StringBuilder buf) |
boolean |
equals(@Nullable Object obj) |
MutableRel |
getInput() |
List<MutableRel> |
getInputs() |
int |
hashCode() |
static MutableSort |
of(MutableRel input,
RelCollation collation,
@Nullable RexNode offset,
@Nullable RexNode fetch)
Creates a MutableSort.
|
void |
setInput(int ordinalInParent,
MutableRel input) |
deep, getParent, replaceInParent, toStringpublic final RelCollation collation
public final @Nullable RexNode offset
public final @Nullable RexNode fetch
protected MutableRel input
public static MutableSort of(MutableRel input, RelCollation collation, @Nullable RexNode offset, @Nullable RexNode fetch)
input - Input relational expressioncollation - Array of sort specificationsoffset - Expression for number of rows to discard before returning
first rowfetch - Expression for number of rows to fetchpublic StringBuilder digest(StringBuilder buf)
digest in class MutableRelpublic MutableRel clone()
clone in class MutableRelpublic void setInput(int ordinalInParent,
MutableRel input)
setInput in class MutableRelpublic List<MutableRel> getInputs()
getInputs in class MutableRelpublic void childrenAccept(MutableRelVisitor visitor)
childrenAccept in class MutableRelpublic MutableRel getInput()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.