MCPcopy
hub / github.com/prometheus/prometheus / StringIter

Interface StringIter

tsdb/index/index.go:939–948  ·  view source on GitHub ↗

StringIter iterates over a sorted list of strings.

Source from the content-addressed store, hash-verified

937
938// StringIter iterates over a sorted list of strings.
939type StringIter interface {
940 // Next advances the iterator and returns true if another value was found.
941 Next() bool
942
943 // At returns the value at the current iterator position.
944 At() string
945
946 // Err returns the last error of the iterator.
947 Err() error
948}
949
950type Reader struct {
951 b ByteSlice

Callers 24

LabelNamesForMethod · 0.65
ShardedPostingsMethod · 0.65
TestIndexRW_PostingsFunction · 0.65
TestPostingsManyFunction · 0.65
TestSymbolsFunction · 0.65
consumePostingsFunction · 0.65
TestMergedPostingsFunction · 0.65
LabelNamesForMethod · 0.65
ShardedPostingsMethod · 0.65
TestIndexRW_PostingsFunction · 0.65
TestPostingsManyFunction · 0.65

Implementers 15

mergedStringItertsdb/querier.go
DeletedIteratortsdb/querier.go
mockSeriesSettsdb/querier_test.go
mockChunkSeriesSettsdb/querier_test.go
mockSampleIteratortsdb/querier_test.go
mockSeriesIteratortsdb/chunkenc/chunk.go
nopIteratortsdb/chunkenc/chunk.go
xor2Iteratortsdb/chunkenc/xor2.go
histogramIteratortsdb/chunkenc/histogram.go
xorIteratortsdb/chunkenc/xor.go
floatHistogramIteratortsdb/chunkenc/float_histogram.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…