public interface Costable
Modifier and Type | Method and Description |
---|---|
long |
estimateCardinality(javax.jcr.query.qom.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(javax.jcr.query.qom.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-2015 JBoss, a division of Red Hat. All Rights Reserved.