public class MutableSort extends MutableSingleRel
Sort.| Modifier and Type | Field and Description |
|---|---|
RelCollation |
collation |
RexNode |
fetch |
RexNode |
offset |
inputcluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type| Modifier | Constructor and Description |
|---|---|
private |
MutableSort(MutableRel input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
| Modifier and Type | Method and Description |
|---|---|
MutableRel |
clone() |
StringBuilder |
digest(StringBuilder buf) |
boolean |
equals(Object obj) |
int |
hashCode() |
static MutableSort |
of(MutableRel input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a MutableSort.
|
childrenAccept, getInput, getInputs, setInputdeep, getParent, replaceInParent, toStringpublic final RelCollation collation
public final RexNode offset
public final RexNode fetch
private MutableSort(MutableRel input, RelCollation collation, RexNode offset, RexNode fetch)
public static MutableSort of(MutableRel input, RelCollation collation, RexNode offset, 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 MutableRelCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.