Documentation
¶
Index ¶
- type Config
- type IndexInfo
- type IndexManager
- type Manager
- func (m *Manager) CreateIndex(indexName, tableName string, fieldName schema.FieldName, ...) error
- func (m *Manager) CreateTable(tableName string, s schema.Schema, tx *transaction.Transaction) error
- func (m *Manager) CreateView(viewName, viewDef string, tx *transaction.Transaction) error
- func (m *Manager) IndexInfo(tableName string, tx *transaction.Transaction) (map[schema.FieldName]IndexInfo, error)
- func (m *Manager) Layout(tableName string, tx *transaction.Transaction) (*record.Layout, error)
- func (m *Manager) StatInfo(tableName string, layout *record.Layout, tx *transaction.Transaction) (StatInfo, error)
- func (m *Manager) ViewDef(viewName string, tx *transaction.Transaction) (string, bool, error)
- type StatInfo
- type StatManager
- type TableManager
- type ViewManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexInfo ¶
type IndexInfo struct {
// contains filtered or unexported fields
}
func NewIndexInfo ¶
func (*IndexInfo) BlockAccessed ¶
func (*IndexInfo) DistinctValues ¶
func (*IndexInfo) RecordsOutput ¶
type IndexManager ¶
type IndexManager struct {
// contains filtered or unexported fields
}
func NewIndexManager ¶
func NewIndexManager(isNew bool, tableManager *TableManager, statManager *StatManager, tx *transaction.Transaction, cfg *Config) (*IndexManager, error)
func (*IndexManager) CreateIndex ¶
func (m *IndexManager) CreateIndex(indexName, tableName string, fieldName schema.FieldName, tx *transaction.Transaction) error
func (*IndexManager) IndexInfo ¶
func (m *IndexManager) IndexInfo(tableName string, tx *transaction.Transaction) (map[schema.FieldName]IndexInfo, error)
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(isNew bool, tx *transaction.Transaction, cfg *Config) (*Manager, error)
func (*Manager) CreateIndex ¶
func (m *Manager) CreateIndex(indexName, tableName string, fieldName schema.FieldName, tx *transaction.Transaction) error
func (*Manager) CreateTable ¶
func (m *Manager) CreateTable(tableName string, s schema.Schema, tx *transaction.Transaction) error
func (*Manager) CreateView ¶
func (m *Manager) CreateView(viewName, viewDef string, tx *transaction.Transaction) error
func (*Manager) IndexInfo ¶
func (m *Manager) IndexInfo(tableName string, tx *transaction.Transaction) (map[schema.FieldName]IndexInfo, error)
func (*Manager) Layout ¶
func (m *Manager) Layout(tableName string, tx *transaction.Transaction) (*record.Layout, error)
func (*Manager) StatInfo ¶
func (m *Manager) StatInfo(tableName string, layout *record.Layout, tx *transaction.Transaction) (StatInfo, error)
func (*Manager) ViewDef ¶
func (m *Manager) ViewDef(viewName string, tx *transaction.Transaction) (string, bool, error)
type StatInfo ¶
type StatInfo struct {
// contains filtered or unexported fields
}
func NewStatInfo ¶
func (StatInfo) BlocksAccessed ¶
func (StatInfo) RecordsOutput ¶
type StatManager ¶
type StatManager struct {
// contains filtered or unexported fields
}
func NewStatManager ¶
func NewStatManager(tableManager *TableManager, tx *transaction.Transaction) (*StatManager, error)
func (*StatManager) StatInfo ¶
func (m *StatManager) StatInfo(tableName string, layout *record.Layout, tx *transaction.Transaction) (StatInfo, error)
type TableManager ¶
type TableManager struct {
// contains filtered or unexported fields
}
func NewTableManager ¶
func NewTableManager(isNew bool, tx *transaction.Transaction) (*TableManager, error)
func (*TableManager) CreateTable ¶
func (m *TableManager) CreateTable(tableName string, schema schema.Schema, tx *transaction.Transaction) error
func (*TableManager) Layout ¶
func (m *TableManager) Layout(tableName string, tx *transaction.Transaction) (*record.Layout, error)
type ViewManager ¶
type ViewManager struct {
// contains filtered or unexported fields
}
func NewViewManager ¶
func NewViewManager(isNew bool, tableManager *TableManager, tx *transaction.Transaction) (*ViewManager, error)
func (*ViewManager) CreateView ¶
func (m *ViewManager) CreateView(viewName, viewDef string, tx *transaction.Transaction) error
func (*ViewManager) ViewDef ¶
func (m *ViewManager) ViewDef(viewName string, tx *transaction.Transaction) (string, bool, error)
Click to show internal directories.
Click to hide internal directories.