|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SearchKey | |
|---|---|
| global | |
| index | |
| relop | |
| tests | |
| Uses of SearchKey in global |
|---|
| Methods in global with parameters of type SearchKey | |
|---|---|
int |
SearchKey.compareTo(SearchKey key)
Generically compares two search keys. |
| Constructors in global with parameters of type SearchKey | |
|---|---|
SearchKey(SearchKey key)
Copy constructor for a search key. |
|
| Uses of SearchKey in index |
|---|
| Fields in index declared as SearchKey | |
|---|---|
SearchKey |
DataEntry.key
The search key (i.e. |
| Methods in index that return SearchKey | |
|---|---|
SearchKey |
SortedPage.getFirstKey()
Gets the key of the first entry on the page. |
SearchKey |
SortedPage.getKeyAt(int slotno)
Gets the key at the given slot number. |
SearchKey |
BucketScan.getLastKey()
Gets the key of the last RID returned. |
| Methods in index with parameters of type SearchKey | |
|---|---|
void |
HashIndex.deleteEntry(SearchKey key,
RID rid)
Deletes the specified entry from the index file. |
int |
SortedPage.findEntry(SearchKey key)
Searches for the first entry that matches the given search key. |
void |
HashIndex.insertEntry(SearchKey key,
RID rid)
Inserts a new entry into the index file. |
int |
SortedPage.nextEntry(SearchKey key,
int slotno)
Searches for the next entry that matches the given search key, and stored after the given slot. |
HashScan |
HashIndex.openScan(SearchKey key)
Initiates an equality scan of the index file. |
| Constructors in index with parameters of type SearchKey | |
|---|---|
DataEntry(SearchKey key,
RID rid)
Constructs a DataEntry from the given values. |
|
HashScan(HashIndex index,
SearchKey key)
Constructs an equality scan by initializing the iterator state. |
|
| Uses of SearchKey in relop |
|---|
| Methods in relop that return SearchKey | |
|---|---|
SearchKey |
IndexScan.getLastKey()
Gets the key of the last tuple returned. |
| Methods in relop with parameters of type SearchKey | |
|---|---|
void |
HashTableDup.add(SearchKey key,
Tuple value)
Maps the specified key to the specified value in this hashtable. |
Tuple[] |
HashTableDup.getAll(SearchKey key)
Returns the values to which the specified key is mapped in this hashtable. |
| Constructors in relop with parameters of type SearchKey | |
|---|---|
KeyScan(Schema schema,
HashIndex index,
SearchKey key,
HeapFile file)
Constructs an index scan, given the hash index and schema. |
|
| Uses of SearchKey in tests |
|---|
| Methods in tests that return SearchKey | |
|---|---|
protected SearchKey |
IXTest.randKey(int type)
Gets a random search key, given the type. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||