package
1.3.5
Repository: https://github.com/silenceshell/influxdb.git
Documentation: pkg.go.dev

# Functions

AppendSeriesElem serializes flag/name/tags to dst and returns the new buffer.
AppendSeriesKey serializes name and tags to a byte slice.
CompareSeriesElem returns -1 if a < b, 1 if a > b, and 0 if equal.
No description provided by the author
DifferenceSeriesIterators returns an iterator that only returns series which occur the first iterator but not the second iterator.
FilterUndeletedMeasurementIterator returns an iterator which filters all deleted measurement.
FilterUndeletedSeriesIterator returns an iterator which filters all deleted series.
FormatIndexFileName generates an index filename for the given index.
FormatLogFileName generates a log filename for the given index.
IntersectSeriesIterators returns an iterator that only returns series which occur in both iterators.
MergeMeasurementIterators returns an iterator that merges a set of iterators.
MergeSeriesIterators returns an iterator that merges a set of iterators.
MergeTagKeyIterators returns an iterator that merges a set of iterators.
MergeTagValueIterators returns an iterator that merges a set of iterators.
NewFileSet returns a new instance of FileSet.
NewIndex returns a new instance of Index.
NewIndexFile returns a new instance of IndexFile.
NewLogFile returns a new instance of LogFile.
NewManifest returns a new instance of Manifest with default compaction levels.
NewMeasurementBlockWriter returns a new MeasurementBlockWriter.
NewSeriesBlockEncoder returns a new instance of SeriesBlockEncoder.
NewTagBlockEncoder returns a new TagBlockEncoder.
ParseFilename extracts the numeric id from a log or index file path.
ReadIndexFileTrailer returns the index file trailer from data.
ReadManifestFile reads a manifest from a file path.
ReadMeasurementBlockTrailer returns the block trailer from data.
ReadSeriesBlockTrailer returns the series list trailer from data.
ReadSeriesKey returns the series key from the beginning of the buffer.
ReadTagBlockTrailer returns the tag block trailer from data.
SeriesElemKey encodes e as a series key.
UnionSeriesIterators returns an iterator that returns series from both both iterators.
WriteManifestFile writes a manifest to a file path.

# Constants

File extensions.
Default compaction thresholds.
FileSignature represents a magic number at the header of the index file.
File extensions.
IndexFile field size constants.
IndexFileVersion is the current TSI1 index file version.
IndexFile trailer fields.
IndexName is the name of the index.
LoadFactor is the fill percent for RHH indexes.
Log entry flag constants.
Log entry flag constants.
Log entry flag constants.
Log entry flag constants.
File extensions.
ManifestFileName is the name of the index manifest file.
MaxIndexFileSize is the maximum expected size of an index file.
MaxIndexMergeCount is the maximum number of files that can be merged together at once.
MaxSeriesBlockHashSize is the maximum number of series in a single hash.
IndexFile field size constants.
IndexFile field size constants.
MeasurementBlockVersion is the version of the measurement block.
1 byte offset for the block to ensure non-zero offsets.
Measurement key block fields.
Measurement field size constants.
Measurement flag constants.
tombstone measurement sketch offset/size.
IndexFile field size constants.
IndexFile field size constants.
Series list trailer field sizes.
Other field sizes.
Marks the following bytes as a hash index.
Series list field size constants.
Marks the series as having been deleted.
version.
TagBlockVersion is the version of the tag block.
TagBlock key block fields.
TagBlock variable size constants.
Tag key flag constants.
TagBlock value block fields.
TagBlock variable size constants.
Tag value flag constants.

# Variables

DefaultCompactionLevels is the default settings used by the index.
IndexFile errors.
Log errors.
Measurement errors.
ErrSeriesOverflow is returned when too many series are added to a series writer.
TagBlock errors.
IndexFile errors.
Measurement errors.
TagBlock errors.

# Structs

CompactionLevel represents a grouping of index files based on bloom filter settings.
FileSet represents a collection of files.
Index represents a collection of layered index files and WAL.
IndexFile represents a collection of measurement, tag, and series data.
No description provided by the author
IndexFileTrailer represents meta data written to the end of the index file.
LogEntry represents a single log entry in the write-ahead log.
LogFile represents an on-disk write-ahead log file.
Manifest represents the list of log & index files that make up the index.
MeasurementBlock represents a collection of all measurements in an index.
MeasurementBlockElem represents an internal measurement element.
MeasurementBlockTrailer represents meta data at the end of a MeasurementBlock.
MeasurementBlockWriter writes a measurement block.
SeriesBlock represents the section of the index that holds series data.
SeriesBlockElem represents a series element in the series list.
SeriesBlockEncoder encodes series to a SeriesBlock in an underlying writer.
SeriesBlockTrailer represents meta data written to the end of the series list.
TagBlock represents tag key/value block for a single measurement.
TagBlockEncoder encodes a tags to a TagBlock section.
TagBlockKeyElem represents a tag key element in a TagBlock.
TagBlockTrailer represents meta data at the end of a TagBlock.
TagBlockValueElem represents a tag value element.

# Interfaces

File represents a log or index file.
MeasurementElem represents a generic measurement element.
MeasurementIterator represents a iterator over a list of measurements.
SeriesElem represents a generic series element.
SeriesIterator represents a iterator over a list of series.
TagKeyElem represents a generic tag key element.
TagKeyIterator represents a iterator over a list of tag keys.
TagValueElem represents a generic tag value element.
TagValueIterator represents a iterator over a list of tag values.

# Type aliases

No description provided by the author
IndexFiles represents a layered set of index files.
MeasurementElems represents a list of MeasurementElem.