|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.store.access.btree.SearchParameters
public class SearchParameters
Parameters that are passed down during a recursive b-tree search. This class is intended to be used as a struct, primarily to make it easier to pass a number of search parameters around, and also to make it easy to re-use objects and not re-allocate.
| Field Summary | |
|---|---|
OpenBTree |
btree
The b-tree this search is for. |
float |
current_fraction
If this is an optimizer search, the fraction of rows that are "in" the the current search. |
float |
left_fraction
If this is an optimizer search, the fraction of rows that are left of the current search. |
(package private) int |
partial_key_match_op
Value to return in comparisons where partial key matches exactly the partial key of a row. |
static int |
POSITION_LEFT_OF_PARTIAL_KEY_MATCH
Position on key just left of a sequence of partial key matches. |
static int |
POSITION_RIGHT_OF_PARTIAL_KEY_MATCH
Position on last key in a sequence of partial key matches. |
boolean |
resultExact
Whether the row found exactly matched the searchKey. |
int |
resultSlot
The resulting slot from the search. |
boolean |
searchForOptimizer
Whether the search is for the optimizer, to determine range of scan. |
DataValueDescriptor[] |
searchKey
The key being searched for. |
DataValueDescriptor[] |
template
An index row with the correct types for the index, into which rows are read during the search. |
| Constructor Summary | |
|---|---|
SearchParameters(DataValueDescriptor[] searchKey,
int partial_key_match_op,
DataValueDescriptor[] template,
OpenBTree btree,
boolean searchForOptimizer)
Construct search parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int POSITION_LEFT_OF_PARTIAL_KEY_MATCH
public static final int POSITION_RIGHT_OF_PARTIAL_KEY_MATCH
public DataValueDescriptor[] searchKey
int partial_key_match_op
public DataValueDescriptor[] template
public OpenBTree btree
public int resultSlot
public boolean resultExact
public boolean searchForOptimizer
public float left_fraction
public float current_fraction
| Constructor Detail |
|---|
public SearchParameters(DataValueDescriptor[] searchKey,
int partial_key_match_op,
DataValueDescriptor[] template,
OpenBTree btree,
boolean searchForOptimizer)
throws StandardException
StandardException - Standard exception policy.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||