ftdc

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const PathSeparator = "/" // path separator

PathSeparator -

Variables

This section is empty.

Functions

func GetUint32

func GetUint32(r io.Reader) uint32

GetUint32 -

func Uvarint

func Uvarint(r io.ByteReader) uint64

Uvarint -

Types

type Block

type Block []byte

Block - buffer holder

type Metrics

type Metrics struct {
	Doc  interface{}   // type 0
	Data []MetricsData // type 1
}

Metrics -

func NewMetrics

func NewMetrics() *Metrics

NewMetrics -

func (*Metrics) ReadAllMetrics

func (m *Metrics) ReadAllMetrics(buffer []byte) error

ReadAllMetrics reads all metrics

func (*Metrics) ReadMetricsSummary

func (m *Metrics) ReadMetricsSummary(buffer []byte) error

ReadMetricsSummary read summary (first doc) of metrics

type MetricsData

type MetricsData struct {
	Buffer        Block
	DocSize       uint32
	NumAttribs    uint32
	NumDeltas     uint32
	DataPointsMap map[string][]int64
}

MetricsData -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL