|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.db2.wrapper.PredicateList
The PredicateList describes two lists of predicates to
estimate the selectivity factor.
Instances of this class are used as input to
UnfencedGenericServer.getSelectivity
,
the selectivity estimation function.
The two predicate lists are:
selectivity (P/AP)
If you need unconditional selectivity, the AP can be null. If the implementation cannot support this framework, the implementation can be set to ignore the AP. The lists of predicates are similar to the list of predicates in the Request class and are manipulated with similar methods.
Method Summary | |
RequestExp |
getAppliedPredicate(int position)
Retrieve a RequestExp object that describes the applied predicate at the specified position. |
int |
getNumberOfAppliedPredicates()
Retrieve the number of applied predicates. |
int |
getNumberOfPredicates()
Retrieve the number of predicates in the list. |
RequestExp |
getPredicate(int position)
Retrieve a RequestExp object that describes the predicate at the specified position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public RequestExp getAppliedPredicate(int position)
position
- The predicate position.
The first predicate is at position 1.
public int getNumberOfAppliedPredicates()
public int getNumberOfPredicates()
public RequestExp getPredicate(int position)
position
- The predicate position.
The first predicate is at position 1.
|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.