Versions in this module Expand all Collapse all v1 v1.0.0-beta3 Jul 18, 2016 v1.0.0-beta1 Jun 6, 2016 v0 v0.12.0 Apr 4, 2016 v0.11.0-rc1 Mar 15, 2016 v0.10.3 Mar 9, 2016 v0.10.2 Mar 3, 2016 Changes in this version + type Value struct + T int64 + Val interface{} + func (v *Value) Size() int + func (v *Value) String() string + func (v *Value) Time() time.Time + func (v *Value) UnixNano() int64 + func (v *Value) Value() interface{} v0.10.0 Feb 4, 2016 Changes in this version + const B1 + const BZ1 + const TSM1 + var ErrFieldNotFound = errors.New("field not found") + var ErrFieldUnmappedID = errors.New("field ID not mapped") + func ConvertToValue(k int64, v interface{}) tsm.Value + func DecodeKeyValue(field string, dec *FieldCodec, k, v []byte) (int64, interface{}) + func MeasurementFromSeriesKey(key string) string + type BoolValue struct + T time.Time + V bool + func (b *BoolValue) Size() int + func (b *BoolValue) Time() time.Time + func (b *BoolValue) UnixNano() int64 + func (b *BoolValue) Value() interface{} + func (f *BoolValue) String() string + type Cursor interface + Next func() (key int64, value interface{}) + SeekTo func(seek int64) (key int64, value interface{}) + type Database struct + func NewDatabase(path string) *Database + func (d *Database) Name() string + func (d *Database) Path() string + func (d *Database) Shards() ([]*ShardInfo, error) + type EngineFormat int + func (e EngineFormat) String() string + type Field struct + ID uint8 + Name string + Type influxql.DataType + type FieldCodec struct + func NewFieldCodec(fields map[string]*Field) *FieldCodec + func (f *FieldCodec) DecodeByID(targetID uint8, b []byte) (interface{}, error) + func (f *FieldCodec) DecodeByName(name string, b []byte) (interface{}, error) + func (f *FieldCodec) DecodeFields(b []byte) (map[uint8]interface{}, error) + func (f *FieldCodec) DecodeFieldsWithNames(b []byte) (map[string]interface{}, error) + func (f *FieldCodec) EncodeFields(values map[string]interface{}) ([]byte, error) + func (f *FieldCodec) FieldByName(name string) *Field + func (f *FieldCodec) FieldIDByName(s string) (uint8, error) + func (f *FieldCodec) Fields() (a []*Field) + type FloatValue struct + T time.Time + V float64 + func (f *FloatValue) Size() int + func (f *FloatValue) String() string + func (f *FloatValue) Time() time.Time + func (f *FloatValue) UnixNano() int64 + func (f *FloatValue) Value() interface{} + type Int64Value struct + T time.Time + V int64 + func (f *Int64Value) String() string + func (v *Int64Value) Size() int + func (v *Int64Value) Time() time.Time + func (v *Int64Value) UnixNano() int64 + func (v *Int64Value) Value() interface{} + type MeasurementFields struct + Codec *FieldCodec + Fields map[string]*Field + func (m *MeasurementFields) MarshalBinary() ([]byte, error) + func (m *MeasurementFields) UnmarshalBinary(buf []byte) error + type Series struct + Key string + Tags map[string]string + func (s *Series) MarshalBinary() ([]byte, error) + func (s *Series) UnmarshalBinary(buf []byte) error + type ShardInfo struct + Database string + Format EngineFormat + Path string + RetentionPolicy string + Size int64 + func (s *ShardInfo) FormatAsString() string + func (s *ShardInfo) FullPath(dataPath string) string + type ShardInfos []*ShardInfo + func (s ShardInfos) Databases() []string + func (s ShardInfos) ExclusiveDatabases(exc []string) ShardInfos + func (s ShardInfos) FilterFormat(fmt EngineFormat) ShardInfos + func (s ShardInfos) Len() int + func (s ShardInfos) Less(i, j int) bool + func (s ShardInfos) Size() int64 + func (s ShardInfos) Swap(i, j int) + type StringValue struct + T time.Time + V string + func (f *StringValue) String() string + func (v *StringValue) Size() int + func (v *StringValue) Time() time.Time + func (v *StringValue) UnixNano() int64 + func (v *StringValue) Value() interface{} v0.10.0-rc2 Feb 2, 2016 v0.10.0-beta2 Jan 23, 2016 v0.10.0-beta1 Jan 13, 2016