Package | Description |
---|---|
edu.berkeley.cs186.database | |
edu.berkeley.cs186.database.query | |
edu.berkeley.cs186.database.table | |
edu.berkeley.cs186.database.table.stats |
Modifier and Type | Method and Description |
---|---|
Record |
Database.Transaction.getRecord(String tableName,
RecordID rid) |
Modifier and Type | Method and Description |
---|---|
Iterator<Record> |
Database.Transaction.getRecordIterator(String tableName) |
Modifier and Type | Method and Description |
---|---|
Iterator<Record> |
SelectOperator.execute() |
Iterator<Record> |
SequentialScanOperator.execute() |
Iterator<Record> |
ProjectOperator.execute()
Joins tuples from leftSource with tuples from rightSource based on whether the values in column
leftColumnName are equal to tha values in column rightColumnName.
|
Iterator<Record> |
QueryPlan.execute()
Generates a naïve QueryPlan in which all joins are at the bottom of the DAG followed by all where
predicates, an optional group by operator, and a set of selects (in that order).
|
abstract Iterator<Record> |
QueryOperator.execute() |
Iterator<Record> |
JoinOperator.execute()
Joins tuples from leftSource and rightSource and returns an iterator of records.
|
Iterator<Record> |
GroupByOperator.execute()
Read input tuples from source, group by groupByColumn, and return an iterator.
|
Modifier and Type | Class and Description |
---|---|
class |
MarkerRecord
An empty record used to delineate groups in the GroupByOperator.
|
Modifier and Type | Method and Description |
---|---|
Record |
Schema.decode(byte[] input)
Takes a byte[] and decodes it into a Record.
|
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 |
RecordIterator.next() |
Record |
Table.updateRecord(List<DataBox> values,
RecordID rid)
Updates an existing record with new values and returns the old version of the record.
|
Record |
Schema.verify(List<DataBox> values)
Verifies that a list of DataBoxes corresponds to this schema.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Record> |
Table.iterator() |
Modifier and Type | Method and Description |
---|---|
byte[] |
Schema.encode(Record record)
Serializes the provided record into a byte[].
|
Modifier and Type | Method and Description |
---|---|
void |
TableStats.addRecord(Record record)
Adds the stats for a new record.
|
void |
TableStats.removeRecord(Record record)
Remove the stats for an existing record.
|
Copyright © 2017. All rights reserved.