Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.MaxRowCount
-
- All Superinterfaces:
Metadata
- Enclosing class:
- BuiltInMetadata
public static interface BuiltInMetadata.MaxRowCount extends Metadata
Metadata about the maximum number of rows returned by a relational expression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BuiltInMetadata.MaxRowCount.Handler
Handler API.
-
Field Summary
Fields Modifier and Type Field Description static MetadataDef<BuiltInMetadata.MaxRowCount>
DEF
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Double
getMaxRowCount()
Estimates the max number of rows which will be returned by a relational expression.
-
-
-
Field Detail
-
DEF
static final MetadataDef<BuiltInMetadata.MaxRowCount> DEF
-
-
Method Detail
-
getMaxRowCount
java.lang.Double getMaxRowCount()
Estimates the max number of rows which will be returned by a relational expression.The default implementation for this query returns
Double.POSITIVE_INFINITY
, but metadata providers can override this with their own cost models.- Returns:
- upper bound on the number of rows returned
-
-