Documentation ¶
Index ¶
- Variables
- func FieldAddDoubleValue(builder *flatbuffers.Builder, doubleValue float64)
- func FieldAddFloatValue(builder *flatbuffers.Builder, floatValue float32)
- func FieldAddIntValue(builder *flatbuffers.Builder, intValue int32)
- func FieldAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
- func FieldAddLongValue(builder *flatbuffers.Builder, longValue int64)
- func FieldAddStringValue(builder *flatbuffers.Builder, stringValue flatbuffers.UOffsetT)
- func FieldAddValueType(builder *flatbuffers.Builder, valueType int8)
- func FieldEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func FieldStart(builder *flatbuffers.Builder)
- func FieldStartKeyVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FieldStartStringValueVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ItemAddFields(builder *flatbuffers.Builder, fields flatbuffers.UOffsetT)
- func ItemAddMeasurementName(builder *flatbuffers.Builder, measurementName flatbuffers.UOffsetT)
- func ItemAddSeriesId(builder *flatbuffers.Builder, seriesId flatbuffers.UOffsetT)
- func ItemAddTags(builder *flatbuffers.Builder, tags flatbuffers.UOffsetT)
- func ItemAddTimestampNanos(builder *flatbuffers.Builder, timestampNanos int64)
- func ItemEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ItemStart(builder *flatbuffers.Builder)
- func ItemStartFieldsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ItemStartMeasurementNameVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ItemStartSeriesIdVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ItemStartTagsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TagAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
- func TagAddVal(builder *flatbuffers.Builder, val flatbuffers.UOffsetT)
- func TagEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TagStart(builder *flatbuffers.Builder)
- func TagStartKeyVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TagStartValVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type Field
- func (rcv *Field) DoubleValue() float64
- func (rcv *Field) FloatValue() float32
- func (rcv *Field) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Field) IntValue() int32
- func (rcv *Field) Key(j int) byte
- func (rcv *Field) KeyBytes() []byte
- func (rcv *Field) KeyLength() int
- func (rcv *Field) LongValue() int64
- func (rcv *Field) MutateDoubleValue(n float64) bool
- func (rcv *Field) MutateFloatValue(n float32) bool
- func (rcv *Field) MutateIntValue(n int32) bool
- func (rcv *Field) MutateLongValue(n int64) bool
- func (rcv *Field) MutateValueType(n ValueType) bool
- func (rcv *Field) StringValue(j int) byte
- func (rcv *Field) StringValueBytes() []byte
- func (rcv *Field) StringValueLength() int
- func (rcv *Field) Table() flatbuffers.Table
- func (rcv *Field) ValueType() ValueType
- type Item
- func (rcv *Item) Fields(obj *Field, j int) bool
- func (rcv *Item) FieldsLength() int
- func (rcv *Item) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Item) MeasurementName(j int) byte
- func (rcv *Item) MeasurementNameBytes() []byte
- func (rcv *Item) MeasurementNameLength() int
- func (rcv *Item) MutateTimestampNanos(n int64) bool
- func (rcv *Item) SeriesId(j int) byte
- func (rcv *Item) SeriesIdBytes() []byte
- func (rcv *Item) SeriesIdLength() int
- func (rcv *Item) Table() flatbuffers.Table
- func (rcv *Item) Tags(obj *Tag, j int) bool
- func (rcv *Item) TagsLength() int
- func (rcv *Item) TimestampNanos() int64
- type Tag
- type ValueType
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesValueType = map[ValueType]string{ ValueTypeInt: "Int", ValueTypeLong: "Long", ValueTypeFloat: "Float", ValueTypeDouble: "Double", ValueTypeString: "String", }
Functions ¶
func FieldAddDoubleValue ¶
func FieldAddDoubleValue(builder *flatbuffers.Builder, doubleValue float64)
func FieldAddFloatValue ¶
func FieldAddFloatValue(builder *flatbuffers.Builder, floatValue float32)
func FieldAddIntValue ¶
func FieldAddIntValue(builder *flatbuffers.Builder, intValue int32)
func FieldAddKey ¶
func FieldAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
func FieldAddLongValue ¶
func FieldAddLongValue(builder *flatbuffers.Builder, longValue int64)
func FieldAddStringValue ¶
func FieldAddStringValue(builder *flatbuffers.Builder, stringValue flatbuffers.UOffsetT)
func FieldAddValueType ¶
func FieldAddValueType(builder *flatbuffers.Builder, valueType int8)
func FieldEnd ¶
func FieldEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func FieldStart ¶
func FieldStart(builder *flatbuffers.Builder)
func FieldStartKeyVector ¶
func FieldStartKeyVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FieldStartStringValueVector ¶
func FieldStartStringValueVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ItemAddFields ¶
func ItemAddFields(builder *flatbuffers.Builder, fields flatbuffers.UOffsetT)
func ItemAddMeasurementName ¶
func ItemAddMeasurementName(builder *flatbuffers.Builder, measurementName flatbuffers.UOffsetT)
func ItemAddSeriesId ¶
func ItemAddSeriesId(builder *flatbuffers.Builder, seriesId flatbuffers.UOffsetT)
func ItemAddTags ¶
func ItemAddTags(builder *flatbuffers.Builder, tags flatbuffers.UOffsetT)
func ItemAddTimestampNanos ¶
func ItemAddTimestampNanos(builder *flatbuffers.Builder, timestampNanos int64)
func ItemEnd ¶
func ItemEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ItemStart ¶
func ItemStart(builder *flatbuffers.Builder)
func ItemStartFieldsVector ¶
func ItemStartFieldsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ItemStartMeasurementNameVector ¶
func ItemStartMeasurementNameVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ItemStartSeriesIdVector ¶
func ItemStartSeriesIdVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ItemStartTagsVector ¶
func ItemStartTagsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TagAddKey ¶
func TagAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
func TagAddVal ¶
func TagAddVal(builder *flatbuffers.Builder, val flatbuffers.UOffsetT)
func TagEnd ¶
func TagEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TagStart ¶
func TagStart(builder *flatbuffers.Builder)
func TagStartKeyVector ¶
func TagStartKeyVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TagStartValVector ¶
func TagStartValVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func GetRootAsField ¶
func GetRootAsField(buf []byte, offset flatbuffers.UOffsetT) *Field
func (*Field) DoubleValue ¶
func (*Field) FloatValue ¶
func (*Field) MutateDoubleValue ¶
func (*Field) MutateFloatValue ¶
func (*Field) MutateIntValue ¶
func (*Field) MutateLongValue ¶
func (*Field) MutateValueType ¶
func (*Field) StringValue ¶
func (*Field) StringValueBytes ¶
func (*Field) StringValueLength ¶
func (*Field) Table ¶
func (rcv *Field) Table() flatbuffers.Table
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func GetRootAsItem ¶
func GetRootAsItem(buf []byte, offset flatbuffers.UOffsetT) *Item
func (*Item) FieldsLength ¶
func (*Item) MeasurementName ¶
func (*Item) MeasurementNameBytes ¶
func (*Item) MeasurementNameLength ¶
func (*Item) MutateTimestampNanos ¶
func (*Item) SeriesIdBytes ¶
func (*Item) SeriesIdLength ¶
func (*Item) Table ¶
func (rcv *Item) Table() flatbuffers.Table
func (*Item) TagsLength ¶
func (*Item) TimestampNanos ¶
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
func GetRootAsTag ¶
func GetRootAsTag(buf []byte, offset flatbuffers.UOffsetT) *Tag
func (*Tag) Table ¶
func (rcv *Tag) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.