Documentation ¶
Index ¶
- func ProtoTableBuilder(x proto.Message) *protoTableBuilder
- func RegisterCustomType(i interface{}, name string)
- func RegisterProtoType(m proto.Message)
- func RegisterProtoTypeNamed(name string)
- func RegisteredName(t reflect.Type) string
- func RegisteredType(name string) reflect.Type
- func TableBuilder() *tableBuilder
- type Table
- type TableCell
- type TableCells
- type TableColumn
- type TableIndex
- type TableIndexType
- type TableRow
- type TableRows
- type TableValueIO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProtoTableBuilder ¶
func RegisterCustomType ¶
func RegisterCustomType(i interface{}, name string)
func RegisterProtoType ¶
func RegisterProtoTypeNamed ¶
func RegisterProtoTypeNamed(name string)
func RegisteredName ¶
func RegisteredType ¶
func TableBuilder ¶
func TableBuilder() *tableBuilder
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) Index ¶
func (t *Table) Index(name string) *TableIndex
type TableCells ¶
type TableCells struct {
// contains filtered or unexported fields
}
func (*TableCells) Get ¶
func (c *TableCells) Get() (values [][]interface{}, err error)
func (*TableCells) Modify ¶
func (c *TableCells) Modify(modifer func(interface{}) (interface{}, error)) error
func (*TableCells) Size ¶
func (c *TableCells) Size() (rows int, cols int)
type TableColumn ¶
type TableColumn struct {
// contains filtered or unexported fields
}
type TableIndex ¶
type TableIndex struct {
// contains filtered or unexported fields
}
func (*TableIndex) Row ¶
func (idx *TableIndex) Row(value ...interface{}) *TableRows
type TableIndexType ¶
type TableIndexType int
const ( NotIndexed TableIndexType = iota Primary Unique Nonunique )
func (TableIndexType) String ¶
func (idxType TableIndexType) String() string
type TableRows ¶
type TableRows struct {
// contains filtered or unexported fields
}
func (*TableRows) Col ¶
func (rows *TableRows) Col(names ...string) *TableCells
type TableValueIO ¶
type TableValueIO interface { NewRow(dbGetter storage.DatabaseGetter, dbScanner storage.DatabaseScanner, dbPutter storage.DatabasePutter, dbDeleter storage.DatabaseDeleter, columnValues ...interface{}) (rowKey []byte, err error) DeleteRow(dbGetter storage.DatabaseGetter, dbScanner storage.DatabaseScanner, dbPutter storage.DatabasePutter, dbDeleter storage.DatabaseDeleter, rowKey []byte) error GetCellValue(dbGetter storage.DatabaseGetter, dbScanner storage.DatabaseScanner, rowKey []byte, columnIndex int) (interface{}, error) SetCellValue(dbGetter storage.DatabaseGetter, dbScanner storage.DatabaseScanner, dbPutter storage.DatabasePutter, dbDeleter storage.DatabaseDeleter, rowKey []byte, columnIndex int, columnValue interface{}) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.