Class PredicateList.PredicateWrapper
java.lang.Object
org.apache.derby.impl.sql.compile.PredicateList.PredicateWrapper
- Enclosing class:
PredicateList
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.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) Predicate
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) boolean
(package private) int
(package private) Predicate
(package private) int
-
Field Details
-
indexPosition
int indexPosition -
pred
Predicate pred -
predicateID
int predicateID
-
-
Constructor Details
-
PredicateWrapper
PredicateWrapper(int ip, Predicate p, int predicateID)
-
-
Method Details
-
getIndexPosition
int getIndexPosition() -
getPredicate
Predicate getPredicate() -
getPredicateID
int getPredicateID() -
before
-
contiguous
-