net.sf.farrago.fennel.rel
Class FennelCalcRule

java.lang.Object
  extended by org.eigenbase.relopt.RelOptRule
      extended by org.eigenbase.rel.convert.ConverterRule
          extended by net.sf.farrago.fennel.rel.FennelCalcRule

public class FennelCalcRule
extends ConverterRule

FennelCalcRule is a rule for implementing CalcRel via a Fennel Calculator (FennelCalcRel).

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/fennel/rel/FennelCalcRule.java#1 $
Author:
jhyde

Field Summary
static FennelCalcRule instance
          The singleton instance.
 
Fields inherited from class org.eigenbase.relopt.RelOptRule
ANY, description, operands
 
Constructor Summary
private FennelCalcRule()
          Creates a new FennelCalcRule object.
 
Method Summary
 RelNode convert(RelNode rel)
           
 CallingConvention getOutConvention()
          Returns the calling convention of the result of firing this rule, null if not known.
 
Methods inherited from class org.eigenbase.rel.convert.ConverterRule
getInTrait, getOutTrait, getTraitDef, isGuaranteed, 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
 

Field Detail

instance

public static final FennelCalcRule instance
The singleton instance.

Constructor Detail

FennelCalcRule

private FennelCalcRule()
Creates a new FennelCalcRule object.

Method Detail

getOutConvention

public CallingConvention getOutConvention()
Description copied from class: RelOptRule
Returns the calling convention of the result of firing this rule, null if not known.

Overrides:
getOutConvention in class ConverterRule

convert

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