net.sf.farrago.namespace.ftrs
Class FtrsDataServer.FtrsRelMetadataProvider
java.lang.Object
org.eigenbase.rel.metadata.ReflectiveRelMetadataProvider
net.sf.farrago.namespace.ftrs.FtrsDataServer.FtrsRelMetadataProvider
- All Implemented Interfaces:
- RelMetadataProvider, ReflectiveVisitor
- Enclosing class:
- FtrsDataServer
public static class FtrsDataServer.FtrsRelMetadataProvider
- extends ReflectiveRelMetadataProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repos
private final FarragoRepos repos
columnMd
private final FtrsDataServer.FtrsColumnMetadata columnMd
FtrsDataServer.FtrsRelMetadataProvider
FtrsDataServer.FtrsRelMetadataProvider(FarragoRepos repos)
getDistinctRowCount
public Double getDistinctRowCount(FtrsIndexScanRel rel,
BitSet groupKey,
RexNode predicate)
getPopulationSize
public Double getPopulationSize(FtrsIndexScanRel rel,
BitSet groupKey)
getUniqueKeys
public Set<BitSet> getUniqueKeys(FtrsIndexScanRel rel,
boolean ignoreNulls)
areColumnsUnique
public Boolean areColumnsUnique(FtrsIndexScanRel rel,
BitSet columns,
boolean ignoreNulls)