public abstract class Minus extends SetOp
Corresponds to the SQL EXCEPT operator.
If "all" is true, then multiset subtraction is performed; otherwise, set subtraction is performed (implying no duplicates in the results).
RelNode.Contextdigest, id, rowType, traitSet| Modifier | Constructor and Description |
|---|---|
protected |
Minus(RelInput input)
Creates a Minus by parsing serialized output.
|
|
Minus(RelOptCluster cluster,
RelTraitSet traits,
List<RelHint> hints,
List<RelNode> inputs,
boolean all) |
protected |
Minus(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
boolean all) |
| Modifier and Type | Method and Description |
|---|---|
double |
estimateRowCount(RelMetadataQuery mq)
Returns an estimate of the number of rows this relational expression will
return.
|
copy, copy, deriveRowType, explainTerms, getHints, getInputs, isHomogeneous, replaceInputaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitattachHints, withHintsexplain, fieldIsNullablepublic Minus(RelOptCluster cluster, RelTraitSet traits, List<RelHint> hints, List<RelNode> inputs, boolean all)
protected Minus(RelOptCluster cluster, RelTraitSet traits, List<RelNode> inputs, boolean all)
protected Minus(RelInput input)
public double estimateRowCount(RelMetadataQuery mq)
RelNodeNOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use
RelMetadataQuery.getRowCount(org.apache.calcite.rel.RelNode), which gives plugins a chance to
override the rel's default ideas about row count.
estimateRowCount in interface RelNodeestimateRowCount in class AbstractRelNodemq - Metadata queryCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.