Package | Description |
---|---|
edu.berkeley.cs186.database | |
edu.berkeley.cs186.database.index | |
edu.berkeley.cs186.database.table |
Modifier and Type | Method and Description |
---|---|
RecordID |
Database.Transaction.addRecord(String tableName,
List<DataBox> values) |
Modifier and Type | Method and Description |
---|---|
void |
Database.Transaction.deleteRecord(String tableName,
RecordID rid) |
Record |
Database.Transaction.getRecord(String tableName,
RecordID rid) |
void |
Database.Transaction.updateRecord(String tableName,
List<DataBox> values,
RecordID rid) |
Modifier and Type | Method and Description |
---|---|
RecordID |
LeafEntry.getRecordID() |
RecordID |
BEntry.getRecordID() |
Modifier and Type | Method and Description |
---|---|
Iterator<RecordID> |
BPlusTree.lookupKey(DataBox key)
Perform an equality search on the specified key.
|
Iterator<RecordID> |
LeafNode.scan()
Creates an iterator of RecordIDs for all entries in this node.
|
Iterator<RecordID> |
LeafNode.scanForKey(DataBox key)
Creates an iterator of RecordIDs that correspond to the given key in the
current leafNode Page.
|
Iterator<RecordID> |
LeafNode.scanFrom(DataBox startValue)
Creates an iterator of RecordIDs whose keys are greater than or equal to
the given start value key.
|
Iterator<RecordID> |
BPlusTree.sortedScan()
Perform a sorted scan.
|
Iterator<RecordID> |
BPlusTree.sortedScanFrom(DataBox keyStart)
Perform a range search beginning from a specified key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BPlusTree.deleteKey(DataBox key,
RecordID rid)
Delete an entry with the matching key and RecordID.
|
void |
BPlusTree.insertKey(DataBox key,
RecordID rid)
Insert a (Key, RecordID) tuple.
|
Constructor and Description |
---|
LeafEntry(DataBox key,
RecordID rid) |
Modifier and Type | Method and Description |
---|---|
RecordID |
Table.addRecord(List<DataBox> values)
Adds a new record to this table.
|
Modifier and Type | Method and Description |
---|---|
Record |
Table.deleteRecord(RecordID rid)
Deletes the record specified by rid from the table.
|
Record |
Table.getRecord(RecordID rid)
Retrieves a record from the table.
|
Record |
Table.updateRecord(List<DataBox> values,
RecordID rid)
Updates an existing record with new values and returns the old version of the record.
|
Constructor and Description |
---|
RecordIterator(Table table,
Iterator<RecordID> recIDIter) |
Copyright © 2017. All rights reserved.