MCPcopy Create free account
hub / github.com/apache/arrow-rs / get

Method get

parquet/src/arrow/array_reader/row_group_cache.rs:109–115  ·  view source on GitHub ↗

Retrieves a cached array for the given column and row ID Returns None if not found in cache

(&self, column_idx: usize, batch_id: BatchID)

Source from the content-addressed store, hash-verified

107 /// Retrieves a cached array for the given column and row ID
108 /// Returns None if not found in cache
109 pub fn get(&self, column_idx: usize, batch_id: BatchID) -> Option<ArrayRef> {
110 let key = CacheKey {
111 column_idx,
112 batch_id,
113 };
114 self.cache.get(&key).cloned()
115 }
116
117 /// Gets the batch size for this cache
118 pub fn batch_size(&self) -> usize {

Callers 15

advanceMethod · 0.45
current_mutMethod · 0.45
currentMethod · 0.45
is_lastMethod · 0.45
next_rle_blockMethod · 0.45
decode_headerMethod · 0.45
try_newMethod · 0.45
readMethod · 0.45
newMethod · 0.45
newMethod · 0.45
try_newMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_async_writerFunction · 0.36