org.apache.derby.impl.sql.compile
Class PredicateList.PredicateWrapper
java.lang.Object
org.apache.derby.impl.sql.compile.PredicateList.PredicateWrapper
- Enclosing class:
- PredicateList
private class PredicateList.PredicateWrapper
- extends java.lang.Object
Inner class which helps statistics routines do their work.
We need to keep track of the index position for each predicate for each
index while we're manipulating predicates and statistics. Each predicate
does have internal state for indexPosition, but this is a more permanent
sort of indexPosition, which keeps track of the position for the index
being considered in estimateCost. For us, each predicate can have
different index positions for different indices.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indexPosition
int indexPosition
pred
Predicate pred
predicateID
int predicateID
PredicateList.PredicateWrapper
PredicateList.PredicateWrapper(int ip,
Predicate p,
int predicateID)
getIndexPosition
int getIndexPosition()
getPredicate
Predicate getPredicate()
getPredicateID
int getPredicateID()
before
boolean before(PredicateList.PredicateWrapper other)
contiguous
boolean contiguous(PredicateList.PredicateWrapper other)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.