internal

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Closef                       func() error
	Pathf                        func() string
	IDf                          func() int
	Levelf                       func() int
	Measurementf                 func(name []byte) tsi1.MeasurementElem
	MeasurementIteratorf         func() tsi1.MeasurementIterator
	HasSeriesf                   func(name []byte, tags models.Tags, buf []byte) (exists, tombstoned bool)
	TagKeyf                      func(name, key []byte) tsi1.TagKeyElem
	TagKeyIteratorf              func(name []byte) tsi1.TagKeyIterator
	TagValuef                    func(name, key, value []byte) tsi1.TagValueElem
	TagValueIteratorf            func(name, key []byte) tsi1.TagValueIterator
	SeriesIDIteratorf            func() tsdb.SeriesIDIterator
	MeasurementSeriesIDIteratorf func(name []byte) tsdb.SeriesIDIterator
	TagKeySeriesIDIteratorf      func(name, key []byte) tsdb.SeriesIDIterator
	TagValueSeriesIDIteratorf    func(name, key, value []byte) tsdb.SeriesIDIterator
	MergeSeriesSketchesf         func(s, t estimator.Sketch) error
	MergeMeasurementsSketchesf   func(s, t estimator.Sketch) error
	Retainf                      func()
	Releasef                     func()
	Filterf                      func() *bloom.Filter
}

File is a mock implementation of a tsi1.File.

func (*File) Close

func (f *File) Close() error

func (*File) Filter

func (f *File) Filter() *bloom.Filter

func (*File) HasSeries

func (f *File) HasSeries(name []byte, tags models.Tags, buf []byte) (exists, tombstoned bool)

func (*File) ID

func (f *File) ID() int

func (*File) Level

func (f *File) Level() int

func (*File) Measurement

func (f *File) Measurement(name []byte) tsi1.MeasurementElem

func (*File) MeasurementIterator

func (f *File) MeasurementIterator() tsi1.MeasurementIterator

func (*File) MeasurementSeriesIDIterator added in v1.5.0

func (f *File) MeasurementSeriesIDIterator(name []byte) tsdb.SeriesIDIterator

func (*File) MergeMeasurementsSketches

func (f *File) MergeMeasurementsSketches(s, t estimator.Sketch) error

func (*File) MergeSeriesSketches

func (f *File) MergeSeriesSketches(s, t estimator.Sketch) error

func (*File) Path

func (f *File) Path() string

func (*File) Release

func (f *File) Release()

func (*File) Retain

func (f *File) Retain()

func (*File) SeriesIDIterator added in v1.5.0

func (f *File) SeriesIDIterator() tsdb.SeriesIDIterator

func (*File) TagKey

func (f *File) TagKey(name, key []byte) tsi1.TagKeyElem

func (*File) TagKeyIterator

func (f *File) TagKeyIterator(name []byte) tsi1.TagKeyIterator

func (*File) TagKeySeriesIDIterator added in v1.5.0

func (f *File) TagKeySeriesIDIterator(name, key []byte) tsdb.SeriesIDIterator

func (*File) TagValue

func (f *File) TagValue(name, key, value []byte) tsi1.TagValueElem

func (*File) TagValueIterator

func (f *File) TagValueIterator(name, key []byte) tsi1.TagValueIterator

func (*File) TagValueSeriesIDIterator added in v1.5.0

func (f *File) TagValueSeriesIDIterator(name, key, value []byte) tsdb.SeriesIDIterator

Jump to

Keyboard shortcuts

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