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
Modifier and TypeFieldDescriptionfinal RelCollation
final @Nullable RexNode
protected MutableRel
final @Nullable RexNode
Fields inherited from class org.apache.calcite.rel.mutable.MutableRel
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
childrenAccept
(MutableRelVisitor visitor) clone()
digest
(StringBuilder buf) boolean
getInput()
int
hashCode()
static MutableSort
of
(MutableRel input, RelCollation collation, @Nullable RexNode offset, @Nullable RexNode fetch) Creates a MutableSort.void
setInput
(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:
digest
in classMutableRel
-
clone
- Specified by:
clone
in classMutableRel
-
setInput
- Specified by:
setInput
in classMutableRel
-
getInputs
- Specified by:
getInputs
in classMutableRel
-
childrenAccept
- Specified by:
childrenAccept
in classMutableRel
-
getInput
-