text

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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.BooleanBatchCursor)

func (*Writer) WriteFloatCursor

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

func (*Writer) WriteIntegerCursor

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

func (*Writer) WriteStringCursor

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

func (*Writer) WriteUnsignedCursor

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

Jump to

Keyboard shortcuts

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