# Functions
AllPostingsKey returns the label key that is used to store the postings list of all existing IDs.
EmptyPostings returns a postings list that's always empty.
ErrPostings returns new postings that immediately error.
ExpandPostings returns the postings expanded as a slice.
Intersect returns a new postings list over the intersection of the input postings.
Merge returns a new iterator over the union of the input iterators.
NewFileReader returns a new index reader against the given index file.
No description provided by the author
No description provided by the author
NewMemPostings returns a memPostings that's ready for reads and writes.
NewReader returns a new index reader on the given byte slice.
NewStringListIter returns a StringIter for the given sorted list of strings.
NewSymbols returns a Symbols object for symbol lookups.
NewTOCFromByteSlice return parsed TOC from given index byte slice.
NewUnorderedMemPostings returns a memPostings that is not safe to be read from until ensureOrder was called once.
NewWriter returns a new Writer to the given filename.
ReadOffsetTable reads an offset table and at the given position calls f for each found entry.
Without returns a new postings list that contains all elements from the full list that are not in the drop list.
# Constants
FormatV1 represents 1 version of index.
FormatV2 represents 2 version of index.
HeaderLen represents number of bytes reserved of index for header.
MagicIndex 4 bytes at the head of an index file.
# Structs
Decoder provides decoding methods for the v1 and v2 index file format.
No description provided by the author
ListPostings implements the Postings interface over a plain list.
MemPostings holds postings list for series ID per label pair.
PostingsStats contains cardinality based statistics for postings.
Range marks a byte range.
No description provided by the author
Stat holds values for a single cardinality statistic.
No description provided by the author
TOC represents index Table Of Content that states where each section of index starts.
Writer implements the IndexWriter interface for the standard serialization format.
# Interfaces
ByteSlice abstracts a byte slice.
Postings provides iterative access over a postings list.
StringIter iterates over a sorted list of strings.