Documentation ¶
Index ¶
Constants ¶
View Source
const (
BlockMetaOffetTypeSize = 4
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) NewTableLeader ¶
func (table *Table) NewTableLeader() *TableLeader
type TableBuilder ¶
type TableBuilder struct {
// contains filtered or unexported fields
}
func NewTableBuilder ¶
func NewTableBuilder(maxBlockSize int) *TableBuilder
func (*TableBuilder) Add ¶
func (builder *TableBuilder) Add(key, value []byte)
add key, value at BlockBuilder flushing block when data size over than max blcok size
func (*TableBuilder) BuildTable ¶
func (builder *TableBuilder) BuildTable(id int, path string) *Table
func (*TableBuilder) Size ¶
func (builder *TableBuilder) Size() int
type TableLeader ¶
type TableLeader struct {
// contains filtered or unexported fields
}
func (*TableLeader) Get ¶
func (leader *TableLeader) Get(key string) []byte
Click to show internal directories.
Click to hide internal directories.