Package org.apache.calcite.rel.mutable
Class MutableWindow
- java.lang.Object
-
- org.apache.calcite.rel.mutable.MutableRel
-
- org.apache.calcite.rel.mutable.MutableSingleRel
-
- org.apache.calcite.rel.mutable.MutableWindow
-
public class MutableWindow extends MutableSingleRel
Mutable equivalent ofWindow
.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<RexLiteral>
constants
java.util.List<Window.Group>
groups
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableSingleRel
input
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableRel
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MutableWindow(RelDataType rowType, MutableRel input, java.util.List<Window.Group> groups, java.util.List<RexLiteral> constants)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableRel
clone()
java.lang.StringBuilder
digest(java.lang.StringBuilder buf)
boolean
equals(java.lang.Object obj)
int
hashCode()
static MutableWindow
of(RelDataType rowType, MutableRel input, java.util.List<Window.Group> groups, java.util.List<RexLiteral> constants)
Creates a MutableWindow.-
Methods inherited from class org.apache.calcite.rel.mutable.MutableSingleRel
childrenAccept, getInput, getInputs, setInput
-
Methods inherited from class org.apache.calcite.rel.mutable.MutableRel
deep, getParent, replaceInParent, toString
-
-
-
-
Field Detail
-
groups
public final java.util.List<Window.Group> groups
-
constants
public final java.util.List<RexLiteral> constants
-
-
Constructor Detail
-
MutableWindow
private MutableWindow(RelDataType rowType, MutableRel input, java.util.List<Window.Group> groups, java.util.List<RexLiteral> constants)
-
-
Method Detail
-
of
public static MutableWindow of(RelDataType rowType, MutableRel input, java.util.List<Window.Group> groups, java.util.List<RexLiteral> constants)
Creates a MutableWindow.- Parameters:
rowType
- Row typeinput
- Input relational expressiongroups
- Window groupsconstants
- List of constants that are additional inputs
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
digest
public java.lang.StringBuilder digest(java.lang.StringBuilder buf)
- Specified by:
digest
in classMutableRel
-
clone
public MutableRel clone()
- Specified by:
clone
in classMutableRel
-
-