Package org.apache.calcite.rel.metadata
Class RelMdMaxRowCount
- java.lang.Object
-
- org.apache.calcite.rel.metadata.RelMdMaxRowCount
-
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.MaxRowCount>
public class RelMdMaxRowCount extends java.lang.Object implements MetadataHandler<BuiltInMetadata.MaxRowCount>
RelMdMaxRowCount supplies a default implementation ofRelMetadataQuery.getMaxRowCount(org.apache.calcite.rel.RelNode)
for the standard logical algebra.
-
-
Field Summary
Fields Modifier and Type Field Description static RelMetadataProvider
SOURCE
-
Constructor Summary
Constructors Constructor Description RelMdMaxRowCount()
-
Method Summary
-
-
-
Field Detail
-
SOURCE
public static final RelMetadataProvider SOURCE
-
-
Method Detail
-
getDef
public MetadataDef<BuiltInMetadata.MaxRowCount> getDef()
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.MaxRowCount>
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Union rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Intersect rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Minus rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Filter rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Project rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Sort rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(EnumerableLimit rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Aggregate rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Join rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(TableScan rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(Values values, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(RelSubset rel, RelMetadataQuery mq)
-
getMaxRowCount
public java.lang.Double getMaxRowCount(RelNode rel, RelMetadataQuery mq)
-
-