Documentation
¶
Index ¶
Constants ¶
View Source
const ( MetaPrefix_Table MetaPrefix = 't' MetaPrefix_Column = 'c' MetaPrefix_MyId = '@' MetaPrefix_Log = 'l' MetaPrefix_StableStore = 's' MetaPrefix_Datum = '>' MetaPrefix_ObjectSequence = '+' )
Variables ¶
This section is empty.
Functions ¶
func GetMyNodeIdPath ¶
func GetMyNodeIdPath() []byte
Types ¶
type Action ¶
type Action struct { Type ActionType Key []byte Value []byte }
type ActionType ¶
type ActionType uint8
const ( ActionTypeNone ActionType = 0 ActionTypeSet ActionType = 1 ActionTypeDelete ActionType = 2 )
type Column ¶
type Column struct { ColumnID uint8 TableID uint8 ColumnName string ColumnType types.Type PrimaryKey bool }
func (Column) ObjectIdPrefix ¶
type Log ¶
func NewLogFromRaft ¶
type MetaPrefix ¶
type MetaPrefix = byte
type ObjectSequence ¶
func (*ObjectSequence) Decode ¶
func (i *ObjectSequence) Decode(src []byte) error
func (ObjectSequence) Encode ¶
func (i ObjectSequence) Encode() []byte
func (ObjectSequence) Path ¶
func (i ObjectSequence) Path() []byte
type Table ¶
func (Table) ObjectIdPrefix ¶
type Transaction ¶
func (*Transaction) Decode ¶
func (i *Transaction) Decode(src []byte) error
func (*Transaction) Encode ¶
func (i *Transaction) Encode() []byte
Click to show internal directories.
Click to hide internal directories.