public class CassandraFilter extends org.apache.calcite.rel.core.Filter implements CassandraRel
Filter
relational expression in Cassandra.CassandraRel.ImplementorCONVENTION| 构造器和说明 |
|---|
CassandraFilter(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rex.RexNode condition,
List<String> partitionKeys,
List<String> clusteringKeys,
List<org.apache.calcite.rel.RelFieldCollation> implicitFieldCollations) |
| 限定符和类型 | 方法和说明 |
|---|---|
@Nullable org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
CassandraFilter |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rex.RexNode condition) |
org.apache.calcite.rel.RelCollation |
getImplicitCollation()
Get the resulting collation by the clustering keys after filtering.
|
void |
implement(CassandraRel.Implementor implementor) |
boolean |
isSinglePartition()
Check if the filter restricts to a single partition.
|
accept, containsOver, copy, deepEquals0, deepHashCode0, estimateFilteredRows, estimateFilteredRows, estimateRowCount, explainTerms, getCondition, getHints, isValidchildrenAccept, deriveRowType, getInput, getInputs, replaceInputaccept, collectVariablesSet, collectVariablesUsed, 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, toStringaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, copy, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, strippedpublic CassandraFilter(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rex.RexNode condition,
List<String> partitionKeys,
List<String> clusteringKeys,
List<org.apache.calcite.rel.RelFieldCollation> implicitFieldCollations)
public @Nullable org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
computeSelfCost 在接口中 org.apache.calcite.rel.RelNodecomputeSelfCost 在类中 org.apache.calcite.rel.core.Filterpublic CassandraFilter copy(org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode input, org.apache.calcite.rex.RexNode condition)
copy 在类中 org.apache.calcite.rel.core.Filterpublic void implement(CassandraRel.Implementor implementor)
implement 在接口中 CassandraRelpublic boolean isSinglePartition()
public org.apache.calcite.rel.RelCollation getImplicitCollation()
Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.