public interface LogicalProperties
In this initial phase logical properties computed are based solely upon key constraints. In the future support for referential constraints, functional dependencies, and others will be added and hence this interface will become more robust over time.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAtMost(long n)
Determines if there is provably at most n tuples in a final or
intermediate result set produced by a PlanNode.
|
boolean |
isAtMostSingleRow()
Determines if there is provably at most one tuple in a final or
intermediate result set produced by a PlanNode.
|
boolean |
isDistinct(Set<VariableReferenceExpression> keyVars)
Determines if the set of variables form a unique constraint for a final or
intermediate result produced by a PlanNode.
|
boolean isDistinct(Set<VariableReferenceExpression> keyVars)
keyVars - boolean isAtMostSingleRow()
boolean isAtMost(long n)
Copyright © 2012–2022. All rights reserved.