Documentation ¶
Index ¶
- Constants
- Variables
- func ColumnNotFound(tableName, columnName string) error
- func TableNotExists(table string, err ...error) error
- func TagNotFound(tableName, tagName string) error
- func ToMap(columns []Column, record []Value) map[string]interface{}
- type Column
- type KeyValue
- type KeyValues
- type Measurement
- type Record
- func (r *Record) At(idx int) Value
- func (r *Record) Clone() Record
- func (r *Record) EqualTo(to Record, opt vm.CompareOption) (bool, error)
- func (r *Record) Get(name string) (Value, bool)
- func (r *Record) GetByQualifierName(tableAs, name string) (Value, bool)
- func (r Record) GoString() string
- func (r *Record) IsEmpty() bool
- func (r Record) MarshalText() ([]byte, error)
- func (r *Record) Search(name string) int
- func (r *Record) ToLine(w io.Writer, sep string)
- type RecordSet
- type Storage
- type Table
- type TableAlias
- type TableName
- type Value
Constants ¶
View Source
const TagIndexStart = 100000
Variables ¶
View Source
var ErrNotFound = vm.ErrNotFound
Functions ¶
func ColumnNotFound ¶
func TableNotExists ¶
func TagNotFound ¶
Types ¶
type KeyValue ¶
func CloneKeyValues ¶
type Measurement ¶
type Record ¶
func MergeRecord ¶
func SortByColumnName ¶
func (*Record) GetByQualifierName ¶
func (Record) MarshalText ¶
type Storage ¶
type Storage interface { From(tablename string, filter func(name TableName) (bool, error)) ([]Measurement, error) Set(name string, tags []KeyValue, isSingleValue bool, t time.Time, table Table, err error) error Exists(name string, tags []KeyValue, predateLimit time.Time) bool }
func NewStorage ¶
func NewStorage() Storage
type TableAlias ¶
func (TableAlias) Equal ¶
func (a TableAlias) Equal(name string) bool
Click to show internal directories.
Click to hide internal directories.