org.eigenbase.rel.metadata
Class RelMdPopulationSize

java.lang.Object
  extended by org.eigenbase.rel.metadata.ReflectiveRelMetadataProvider
      extended by org.eigenbase.rel.metadata.RelMdPopulationSize
All Implemented Interfaces:
RelMetadataProvider, ReflectiveVisitor

public class RelMdPopulationSize
extends ReflectiveRelMetadataProvider

RelMdPopulationSize supplies a default implementation of RelMetadataQuery.getPopulationSize(org.eigenbase.rel.RelNode, java.util.BitSet) for the standard logical algebra.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/rel/metadata/RelMdPopulationSize.java#14 $
Author:
Zelaine Fong

Constructor Summary
RelMdPopulationSize()
           
 
Method Summary
 Double getPopulationSize(AggregateRelBase rel, BitSet groupKey)
           
 Double getPopulationSize(FilterRelBase rel, BitSet groupKey)
           
 Double getPopulationSize(JoinRelBase rel, BitSet groupKey)
           
 Double getPopulationSize(ProjectRelBase rel, BitSet groupKey)
           
 Double getPopulationSize(RelNode rel, BitSet groupKey)
           
 Double getPopulationSize(SemiJoinRel rel, BitSet groupKey)
           
 Double getPopulationSize(SortRel rel, BitSet groupKey)
           
 Double getPopulationSize(UnionRelBase rel, BitSet groupKey)
           
 Double getPopulationSize(ValuesRelBase rel, BitSet groupKey)
           
 
Methods inherited from class org.eigenbase.rel.metadata.ReflectiveRelMetadataProvider
getRelMetadata, mapParameterTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelMdPopulationSize

public RelMdPopulationSize()
Method Detail

getPopulationSize

public Double getPopulationSize(FilterRelBase rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(SortRel rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(UnionRelBase rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(JoinRelBase rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(SemiJoinRel rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(AggregateRelBase rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(ValuesRelBase rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(ProjectRelBase rel,
                                BitSet groupKey)

getPopulationSize

public Double getPopulationSize(RelNode rel,
                                BitSet groupKey)