Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteCounter ¶
type ByteCounter int
func (ByteCounter) MarshalYAML ¶
func (c ByteCounter) MarshalYAML() (interface{}, error)
type Driver ¶
type Driver interface { Init(sp schema.SchemaProvider, config interface{}) error Get(q query.GetQuery) *query.GetResponse Update(q query.UpdateQuery) *query.UpdateResponse Put(q query.PutQuery) *query.PutResponse Delete(q query.DelQuery) *query.DelResponse Dump(table string) (<-chan schema.Entity, <-chan error, chan<- bool, error) // Status asks the driver if it is up and running Status() error Stats() (*Stats, error) }
type Stats ¶
type Stats struct {
Tables map[string]*TableStats `yaml:"tables"`
}
type TableStats ¶
type TableStats struct { NumRows Counter `yaml:"num_rows"` EstimatedDataSize ByteCounter `yaml:"data_size"` EstimatedKeysSize ByteCounter `yaml:"keys_size"` }
Click to show internal directories.
Click to hide internal directories.