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:
java.lang.Cloneable
,RelOptNode
,RelNode
- Direct Known Subclasses:
LogicalDelta
public abstract class Delta extends SingleRel
Relational operator that converts a relation to a stream.For example, if
Orders
is a table, andTableScan
(Orders) is a relational operator that returns the current contents of the table, thenDelta
(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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Delta(RelOptCluster cluster, RelTraitSet traits, RelNode input)
protected
Delta(RelInput input)
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, computeDigest, computeSelfCost, computeSelfCost, copy, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
-
-
-
-
Constructor Detail
-
Delta
protected Delta(RelOptCluster cluster, RelTraitSet traits, RelNode input)
-
Delta
protected Delta(RelInput input)
Creates a Delta by parsing serialized output.
-
-