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

Function newCachedReaderAt

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

Source from the content-addressed store, hash-verified

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

Callers 3

TestCachingReaderAtFunction · 0.70
openForSearchMethod · 0.70

Calls

no outgoing calls

Tested by 2

TestCachingReaderAtFunction · 0.56