org.eigenbase.oj.rel
Class IterRules.HomogeneousUnionToIteratorRule

java.lang.Object
  extended by org.eigenbase.relopt.RelOptRule
      extended by org.eigenbase.rel.convert.ConverterRule
          extended by org.eigenbase.oj.rel.IterRules.UnionToIteratorRule
              extended by org.eigenbase.oj.rel.IterRules.HomogeneousUnionToIteratorRule
Enclosing class:
IterRules

public static class IterRules.HomogeneousUnionToIteratorRule
extends IterRules.UnionToIteratorRule

Refinement of IterRules.UnionToIteratorRule which only applies to a UnionRel all of whose input rows are the same type as its output row. Luckily, a CoerceInputsRule will have made that happen.


Field Summary
static IterRules.HomogeneousUnionToIteratorRule instance
           
 
Fields inherited from class org.eigenbase.relopt.RelOptRule
ANY, description, operands
 
Constructor Summary
private IterRules.HomogeneousUnionToIteratorRule()
          Creates a HomogeneousUnionToIteratorRule.
protected IterRules.HomogeneousUnionToIteratorRule(String description)
           
 
Method Summary
 RelNode convert(RelNode rel)
           
 
Methods inherited from class org.eigenbase.oj.rel.IterRules.UnionToIteratorRule
newIterConcatenateRel
 
Methods inherited from class org.eigenbase.rel.convert.ConverterRule
getInTrait, getOutConvention, 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 IterRules.HomogeneousUnionToIteratorRule instance
Constructor Detail

IterRules.HomogeneousUnionToIteratorRule

private IterRules.HomogeneousUnionToIteratorRule()
Creates a HomogeneousUnionToIteratorRule.


IterRules.HomogeneousUnionToIteratorRule

protected IterRules.HomogeneousUnionToIteratorRule(String description)
Method Detail

convert

public RelNode convert(RelNode rel)
Overrides:
convert in class IterRules.UnionToIteratorRule