/** Infers predicates for an Exchange. */ public RelOptPredicateList getPredicates(Exchange exchange) { RelNode child = exchange.getInput(); return RelMetadataQuery.getPulledUpPredicates(child); }
public Double getDistinctRowCount(Exchange rel, ImmutableBitSet groupKey, RexNode predicate) { return RelMetadataQuery.getDistinctRowCount(rel.getInput(), groupKey, predicate); }
public List<Double> averageColumnSizes(Exchange rel, RelMetadataQuery mq) { return mq.getAverageColumnSizes(rel.getInput()); }
/** Infers predicates for an Exchange. */ public RelOptPredicateList getPredicates(Exchange exchange, RelMetadataQuery mq) { RelNode input = exchange.getInput(); return mq.getPulledUpPredicates(input); }