MCPcopy
hub / github.com/grafana/tempo / newCachedReaderAt

Function newCachedReaderAt

tempodb/encoding/vparquet3/readers.go:78–80  ·  view source on GitHub ↗
(r cacheReaderAt, maxPageSize int, size int64, footerSize uint32)

Source from the content-addressed store, hash-verified

76)
77
78func newCachedReaderAt(r cacheReaderAt, maxPageSize int, size int64, footerSize uint32) *cachedReaderAt {
79 return &cachedReaderAt{r, map[int64]cachedObjectRecord{}, size, footerSize, maxPageSize}
80}
81
82// called by parquet-go in OpenFile() to set offset and length of footer section
83func (r *cachedReaderAt) SetFooterSection(offset, length int64) {

Callers 3

TestCachingReaderAtFunction · 0.70
openForSearchMethod · 0.70

Calls

no outgoing calls

Tested by 2

TestCachingReaderAtFunction · 0.56