public class SearchParameters
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
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 | Description |
---|---|
SearchParameters(DataValueDescriptor[] searchKey,
int partial_key_match_op,
DataValueDescriptor[] template,
OpenBTree btree,
boolean searchForOptimizer) |
Construct search parameters.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
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
public SearchParameters(DataValueDescriptor[] searchKey, int partial_key_match_op, DataValueDescriptor[] template, OpenBTree btree, boolean searchForOptimizer) throws StandardException
StandardException
- Standard exception policy.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.