Package org.apache.calcite.rel.stream
Class Delta
java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.SingleRel
org.apache.calcite.rel.stream.Delta
- All Implemented Interfaces:
Cloneable
,RelOptNode
,RelNode
- Direct Known Subclasses:
LogicalDelta
Relational operator that converts a relation to a stream.
For example, if Orders
is a table, and TableScan
(Orders)
is a relational operator that returns the current contents of the table,
then Delta
(TableScan(Orders)) is a relational operator that returns
all inserts into the table.
If unrestricted, Delta returns all previous inserts into the table (from time -∞ to now) and all future inserts into the table (from now to +∞) and never terminates.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context
-
Field Summary
Fields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet
-
Constructor Summary
ModifierConstructorDescriptionprotected
Delta
(RelOptCluster cluster, RelTraitSet traits, RelNode input) protected
Creates a Delta by parsing serialized output. -
Method Summary
Methods inherited from class org.apache.calcite.rel.SingleRel
childrenAccept, deriveRowType, estimateRowCount, explainTerms, getInput, getInputs, replaceInput
Methods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, accept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.calcite.rel.RelNode
explain, fieldIsNullable, stripped
-
Constructor Details
-
Delta
-
Delta
Creates a Delta by parsing serialized output.
-