public interface Costable
Modifier and Type | Method and Description |
---|---|
long |
estimateCardinality(List<Constraint> andedConstraints,
Map<String,Object> variables)
Compute the cost applying the given constraints joined together conceptually using AND.
|
long |
estimateTotalCount()
Get the estimated number of entries within this index.
|
long estimateCardinality(List<Constraint> andedConstraints, Map<String,Object> variables)
andedConstraints
- the constraints; never nullvariables
- the bound variables for the query that is being costed; never nulllong estimateTotalCount()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.