text

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode bool
const (
	Series Mode = false
	Values Mode = true
)

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(w io.Writer, mode Mode) *Writer

func (*Writer) BeginSeries

func (w *Writer) BeginSeries(name, field []byte, typ influxql.DataType, tags models.Tags)

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) EndSeries

func (w *Writer) EndSeries()

func (*Writer) Err

func (w *Writer) Err() error

func (*Writer) NewBucket

func (w *Writer) NewBucket(start, end int64) (format.BucketWriter, error)

func (*Writer) WriteBooleanCursor

func (w *Writer) WriteBooleanCursor(cur tsdb.BooleanArrayCursor)

func (*Writer) WriteFloatCursor

func (w *Writer) WriteFloatCursor(cur tsdb.FloatArrayCursor)

func (*Writer) WriteIntegerCursor

func (w *Writer) WriteIntegerCursor(cur tsdb.IntegerArrayCursor)

func (*Writer) WriteStringCursor

func (w *Writer) WriteStringCursor(cur tsdb.StringArrayCursor)

func (*Writer) WriteUnsignedCursor

func (w *Writer) WriteUnsignedCursor(cur tsdb.UnsignedArrayCursor)

Jump to

Keyboard shortcuts

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