Package org.apache.calcite.rel.mutable
Class MutableSort
java.lang.Object
org.apache.calcite.rel.mutable.MutableRel
org.apache.calcite.rel.mutable.MutableSort
Mutable equivalent of
Sort.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal RelCollationfinal @Nullable RexNodeprotected MutableRelfinal @Nullable RexNodeFields inherited from class org.apache.calcite.rel.mutable.MutableRel
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type -
Method Summary
Modifier and TypeMethodDescriptionvoidchildrenAccept(MutableRelVisitor visitor) clone()digest(StringBuilder buf) booleangetInput()inthashCode()static MutableSortof(MutableRel input, RelCollation collation, @Nullable RexNode offset, @Nullable RexNode fetch) Creates a MutableSort.voidsetInput(int ordinalInParent, MutableRel input) Methods inherited from class org.apache.calcite.rel.mutable.MutableRel
deep, getParent, replaceInParent, toString
-
Field Details
-
collation
-
offset
-
fetch
-
input
-
-
Method Details
-
of
public static MutableSort of(MutableRel input, RelCollation collation, @Nullable RexNode offset, @Nullable RexNode fetch) Creates a MutableSort.- Parameters:
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 fetch
-
equals
-
hashCode
public int hashCode() -
digest
- Specified by:
digestin classMutableRel
-
clone
- Specified by:
clonein classMutableRel
-
setInput
- Specified by:
setInputin classMutableRel
-
getInputs
- Specified by:
getInputsin classMutableRel
-
childrenAccept
- Specified by:
childrenAcceptin classMutableRel
-
getInput
-