net.sf.farrago.query
Class IteratorToFennelConverter.IteratorToFennelPullRule

java.lang.Object
  extended by org.eigenbase.relopt.RelOptRule
      extended by org.eigenbase.rel.convert.ConverterRule
          extended by net.sf.farrago.query.IteratorToFennelConverter.IteratorToFennelPullRule
Enclosing class:
IteratorToFennelConverter

private static class IteratorToFennelConverter.IteratorToFennelPullRule
extends ConverterRule

Rule which converts a RelNode of Fennel calling convention to iterator calling convention by adding a IteratorToFennelConverter.


Field Summary
 
Fields inherited from class org.eigenbase.relopt.RelOptRule
ANY, description, operands
 
Constructor Summary
private IteratorToFennelConverter.IteratorToFennelPullRule()
           
 
Method Summary
 RelNode convert(RelNode rel)
           
 boolean isGuaranteed()
          Returns true if this rule can convert any relational expression of the input convention.
 
Methods inherited from class org.eigenbase.rel.convert.ConverterRule
getInTrait, getOutConvention, getOutTrait, getTraitDef, onMatch
 
Methods inherited from class org.eigenbase.relopt.RelOptRule
convert, equals, equals, getOperand, getOperands, hashCode, matches, mergeTraitsAndConvert, mergeTraitsAndConvert, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IteratorToFennelConverter.IteratorToFennelPullRule

private IteratorToFennelConverter.IteratorToFennelPullRule()
Method Detail

convert

public RelNode convert(RelNode rel)
Specified by:
convert in class ConverterRule

isGuaranteed

public boolean isGuaranteed()
Description copied from class: ConverterRule
Returns true if this rule can convert any relational expression of the input convention.

The union-to-java converter, for example, is not guaranteed, because it only works on unions.

Overrides:
isGuaranteed in class ConverterRule