Example #1
0
 /** 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);
 }
Example #3
0
 public List<Double> averageColumnSizes(Exchange rel, RelMetadataQuery mq) {
   return mq.getAverageColumnSizes(rel.getInput());
 }
Example #4
0
 /** Infers predicates for an Exchange. */
 public RelOptPredicateList getPredicates(Exchange exchange, RelMetadataQuery mq) {
   RelNode input = exchange.getInput();
   return mq.getPulledUpPredicates(input);
 }