Package org.apache.calcite.rel.logical
Class LogicalSnapshot
java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.SingleRel
org.apache.calcite.rel.core.Snapshot
org.apache.calcite.rel.logical.LogicalSnapshot
- All Implemented Interfaces:
- Cloneable,- RelOptNode,- Hintable,- RelNode
Sub-class of 
Snapshot
 not targeted at any particular engine or calling convention.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.calcite.rel.RelNodeRelNode.Context
- 
Field SummaryFields inherited from class org.apache.calcite.rel.AbstractRelNodedigest, id, rowType, traitSet
- 
Constructor SummaryConstructorsConstructorDescriptionLogicalSnapshot(RelOptCluster cluster, RelTraitSet traitSet, List<RelHint> hints, RelNode input, RexNode period) Creates a LogicalSnapshot.LogicalSnapshot(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, RexNode period) Creates a LogicalSnapshot.LogicalSnapshot(RelInput input) Creates a LogicalSnapshot by parsing serialized output.
- 
Method SummaryModifier and TypeMethodDescriptioncopy(RelTraitSet traitSet, RelNode input, RexNode period) static LogicalSnapshotCreates a LogicalSnapshot.Returns a new relational expression with the specified hintshintList.Methods inherited from class org.apache.calcite.rel.core.Snapshotaccept, copy, explainTerms, getHints, getPeriod, isValidMethods inherited from class org.apache.calcite.rel.SingleRelchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputMethods inherited from class org.apache.calcite.rel.AbstractRelNodeaccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, metadata, onRegister, recomputeDigest, register, sole, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.hint.HintableattachHintsMethods inherited from interface org.apache.calcite.rel.RelNodeexplain, fieldIsNullable, stripped
- 
Constructor Details- 
LogicalSnapshotCreates a LogicalSnapshot by parsing serialized output.
- 
LogicalSnapshotpublic LogicalSnapshot(RelOptCluster cluster, RelTraitSet traitSet, List<RelHint> hints, RelNode input, RexNode period) Creates a LogicalSnapshot.Use create(org.apache.calcite.rel.RelNode, org.apache.calcite.rex.RexNode)unless you know what you're doing.- Parameters:
- cluster- Cluster that this relational expression belongs to
- traitSet- The traits of this relational expression
- hints- Hints for this node
- input- Input relational expression
- period- Timestamp expression which as the table was at the given time in the past
 
- 
LogicalSnapshotCreates a LogicalSnapshot.Use create(org.apache.calcite.rel.RelNode, org.apache.calcite.rex.RexNode)unless you know what you're doing.- Parameters:
- cluster- Cluster that this relational expression belongs to
- traitSet- The traits of this relational expression
- input- Input relational expression
- period- Timestamp expression which as the table was at the given time in the past
 
 
- 
- 
Method Details- 
copy
- 
createCreates a LogicalSnapshot.
- 
withHintsDescription copied from interface:HintableReturns a new relational expression with the specified hintshintList.This method should be overridden by every logical node that supports hint. It is only for internal use during decorrelation. Sub-class should return a new copy of the relational expression. The default implementation returns the relational expression directly only because not every kind of relational expression supports hints. - Returns:
- Relational expression with set up hints
 
 
-