MCPcopy Create free account
hub / github.com/apache/arrow / ReadRangeCache

Method ReadRangeCache

cpp/src/arrow/io/caching.cc:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314};
315
316ReadRangeCache::ReadRangeCache(std::shared_ptr<RandomAccessFile> owned_file,
317 RandomAccessFile* file, IOContext ctx,
318 CacheOptions options)
319 : impl_(options.lazy ? new LazyImpl() : new Impl()) {
320 impl_->owned_file = std::move(owned_file);
321 impl_->file = file;
322 impl_->ctx = std::move(ctx);
323 impl_->options = options;
324}
325
326ReadRangeCache::~ReadRangeCache() = default;
327

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected