Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct {
// contains filtered or unexported fields
}
Page is a fixed-length area on a Data to store tuples and related Data structures
type PageHeader ¶
type PageHeader struct {
// contains filtered or unexported fields
}
PageHeader is the head of a page
type PagePointer ¶
type PagePointer uint32
PagePointer is a pointer pointing to a location within a page
type Table ¶
Table is a Data structure to store Data with the same schema which contains multiple pages
func (*Table) Delete ¶
func (t *Table) Delete(loc TupleLocation) (err error)
func (*Table) Scan ¶
func (t *Table) Scan(iter TableIterator) (err error)
type TableIterator ¶
type TableIterator func(tuple Tuple, loc TupleLocation) (cont bool, err error)
TableIterator is a callback for each tuple in a table
type TupleLocation ¶
type TuplePointer ¶
type TuplePointer struct {
// contains filtered or unexported fields
}
TuplePointer points to a tuple within a page
func NewTuplePointerFromBytes ¶
func NewTuplePointerFromBytes(data []byte) (pointer TuplePointer, err error)
Click to show internal directories.
Click to hide internal directories.