public interface Costable
| Modifier and Type | Method and Description |
|---|---|
long |
estimateCardinality(Constraint constraint,
Map<String,Object> variables)
Compute the cost applying the given constraint.
|
long |
estimateTotalCount()
Get the estimated number of entries within this index.
|
long estimateCardinality(Constraint constraint, Map<String,Object> variables)
constraint - the constraint; never nullvariables - the bound variables for the query that is being costed; never nulllong estimateTotalCount()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.