org.eigenbase.rel.metadata
Class RelMdSelectivity
java.lang.Object
org.eigenbase.rel.metadata.ReflectiveRelMetadataProvider
org.eigenbase.rel.metadata.RelMdSelectivity
- All Implemented Interfaces:
- RelMetadataProvider, ReflectiveVisitor
public class RelMdSelectivity
- extends ReflectiveRelMetadataProvider
RelMdSelectivity supplies a default implementation of RelMetadataQuery.getSelectivity(org.eigenbase.rel.RelNode, org.eigenbase.rex.RexNode)
for the standard logical algebra.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/rel/metadata/RelMdSelectivity.java#9 $
- Author:
- Zelaine Fong
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelMdSelectivity
public RelMdSelectivity()
getSelectivity
public Double getSelectivity(UnionRelBase rel,
RexNode predicate)
getSelectivity
public Double getSelectivity(SortRel rel,
RexNode predicate)
getSelectivity
public Double getSelectivity(FilterRelBase rel,
RexNode predicate)
getSelectivity
public Double getSelectivity(SemiJoinRel rel,
RexNode predicate)
getSelectivity
public Double getSelectivity(AggregateRelBase rel,
RexNode predicate)
getSelectivity
public Double getSelectivity(ProjectRelBase rel,
RexNode predicate)
getSelectivity
public Double getSelectivity(RelNode rel,
RexNode predicate)