internal

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 4 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)
	Seriesf                    func(name []byte, tags models.Tags) tsi1.SeriesElem
	SeriesNf                   func() uint64
	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
	SeriesIteratorf            func() tsi1.SeriesIterator
	MeasurementSeriesIteratorf func(name []byte) tsi1.SeriesIterator
	TagKeySeriesIteratorf      func(name, key []byte) tsi1.SeriesIterator
	TagValueSeriesIteratorf    func(name, key, value []byte) tsi1.SeriesIterator
	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) MeasurementSeriesIterator

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

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) Series

func (f *File) Series(name []byte, tags models.Tags) tsi1.SeriesElem

func (*File) SeriesIterator

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

func (*File) SeriesN

func (f *File) SeriesN() uint64

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) TagKeySeriesIterator

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

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) TagValueSeriesIterator

func (f *File) TagValueSeriesIterator(name, key, value []byte) tsi1.SeriesIterator

Jump to

Keyboard shortcuts

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