package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Packages

# Functions

NewCachedIterator creates an iterator that cache iteration result and can be iterated again after closing it without re-using the underlaying iterator `it`.
NewCachedSampleIterator creates an iterator that cache iteration result and can be iterated again after closing it without re-using the underlaying iterator `it`.
NewEntryReversedIter returns an iterator which loads all entries and iterates backward.
NewMergeEntryIterator returns a new iterator which uses a looser tree to merge together entries for multiple iterators and deduplicate entries if any.
NewMergeSampleIterator returns a new iterator which uses a heap to merge together samples for multiple iterators and deduplicate if any.
NewMultiSeriesIterator returns an iterator over multiple logproto.Series.
NewNonOverlappingIterator gives a chained iterator over a list of iterators.
NewNonOverlappingSampleIterator gives a chained iterator over a list of iterators.
NewPeekingIterator creates a new peeking iterator.
NewQueryClientIterator returns an iterator over a QueryClient.
NewQueryResponseIterator returns an iterator over a QueryResponse.
NewReversedIter returns an iterator which loads all or up to N entries of an existing iterator, and then iterates over them backward.
NewSampleQueryClientIterator returns an iterator over a QueryClient.
NewSampleQueryResponseIterator returns an iterator over a SampleQueryResponse.
NewSeriesIterator iterates over sample in a series.
NewSortEntryIterator returns a new EntryIterator that sorts entries by timestamp (depending on the direction) the input iterators.
NewSortSampleIterator returns a new SampleIterator that sorts samples by ascending timestamp the input iterators.
NewStreamIterator iterates over entries in a stream.
NewStreamsIterator returns an iterator over logproto.Stream.
NewTimeRangedIterator returns an iterator which filters entries by time range.
NewTimeRangedSampleIterator returns an iterator which filters entries by time range.
ReadBatch reads a set of entries off an iterator.
ReadSampleBatch reads a set of entries off an iterator.

# Variables

# Structs

# Interfaces

MergeEntryIterator exposes additional fields that are used by the Tailer only.
PeekingEntryIterator is an entry iterator that can look ahead an entry using `Peek` without advancing its cursor.
PeekingSampleIterator is a sample iterator that can peek sample without moving the current sample.
QuerySampleClient is GRPC stream client with only method used by the SampleQueryClientIterator.