MCPcopy Create free account
hub / github.com/cortexproject/cortex / hasNext

Method hasNext

pkg/querier/batch/stream.go:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func (bs *batchStream) hasNext() chunkenc.ValueType {
24 if len(*bs) > 0 {
25 return (*bs)[0].ValType
26 }
27 return chunkenc.ValNone
28}
29
30func (bs *batchStream) next() {
31 (*bs)[0].Index++

Callers 1

mergeStreamsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected