# Functions
No description provided by the author
BlockType returns the type of value encoded in a block or an error if the block type is unknown.
No description provided by the author
DecodeBlock takes a byte array and will decode into values of the appropriate type based on the block.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBitReader returns a new instance of BitReader that reads from data.
NewBooleanEncoder returns a new instance of BooleanEncoder.
NewCache returns an instance of a cache which will use a maximum of maxSize bytes of memory.
No description provided by the author
NewCacheLoader returns a new instance of a CacheLoader.
NewEngine returns a new instance of Engine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMultiFieldCursor returns an instance of Cursor that joins the results of cursors.
No description provided by the author
NewTimeEncoder returns a TimeEncoder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseTSMFileName parses the generation and sequence from a TSM file name.
SeriesFieldKey combine a series key and field name for a unique string to be hashed to a numeric ID.
ZigZagDecode converts a previously zigzag encoded uint64 back to a int64.
ZigZagEncode converts a int64 to a uint64 by zig zagging negative and positive values across even and odd numbers.
# Constants
BlockBoolean designates a block encodes boolean values.
BlockFloat64 designates a block encodes float64 values.
BlockInteger designates a block encodes int64 values.
BlockString designates a block encodes string values.
No description provided by the author
DefaultSegmentSize of 10MB is the size at which segment files will be rolled over.
No description provided by the author
No description provided by the author
MagicNumber is written as the first 4 bytes of a data file to identify the file as a tsm1 formatted file.
No description provided by the author
No description provided by the author
FileExtension is the file extension we expect for wal segments.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BitReader reads bits from an io.Reader.
BlockIterator allows iterating over each block in a TSM file in order.
BooleanDecoder decodes a series of booleans from an in-memory buffer.
BooleanEncoder encodes a series of booleans to an in-memory buffer.
No description provided by the author
Cache maintains an in-memory store of Values for a set of keys.
CacheLoader processes a set of WAL segment files, and loads a cache with the data contained within those files.
Compactor merges multiple TSM files into new files or writes a Cache into 1 or more TSM files.
DefaultPlanner implements CompactionPlanner using a strategy to roll up multiple generations of TSM files into larger files in stages.
DeleteRangeWALEntry represents the deletion of multiple series.
DeleteWALEntry represents the deletion of multiple series.
No description provided by the author
Engine represents a storage engine with compressed blocks.
No description provided by the author
No description provided by the author
FloatDecoder decodes a byte slice into multipe float64 values.
FloatEncoder encodes multiple float64s into a byte slice.
No description provided by the author
IndexEntry is the index information for a given block in a TSM file.
IntegerDecoder decodes a byte slice into int64s.
IntegerEncoder encoders int64 into byte slices.
No description provided by the author
No description provided by the author
SegmentInfo represents metadata about a segment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WALSegmentReader reads WAL segments.
WALSegmentWriter writes WAL segments.
WriteWALEntry represents a write of points.
# Interfaces
CompactionPlanner determines what TSM files and WAL segments to include in a given compaction run.
IndexWriter writes a TSMIndex.
KeyIterator allows iteration over set of keys and values in sorted order.
TimeEncoder encodes time.Time to byte slices.
No description provided by the author
TSMIndex represent the index section of a TSM file.
TSMWriter writes TSM formatted key and values.
No description provided by the author
WALEntry is record stored in each WAL segment.
# Type aliases
BooleanValues represents a slice of boolean values.
No description provided by the author
FloatValues represents a slice of float values.
IntegerValues represents a slice of integer values.
StringValues represents a slice of string values.
Values represented a time ascending sorted collection of Value types.
WalEntryType is a byte written to a wal segment file that indicates what the following compressed block contains.