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

Method len

arrow-json/src/reader/mod.rs:662–664  ·  view source on GitHub ↗

The number of unflushed records, including the partially decoded record (if any).

(&self)

Source from the content-addressed store, hash-verified

660
661 /// The number of unflushed records, including the partially decoded record (if any).
662 pub fn len(&self) -> usize {
663 self.tape_decoder.num_buffered_rows()
664 }
665
666 /// True if there are no records to flush, i.e. [`Self::len`] is zero.
667 pub fn is_empty(&self) -> bool {

Callers 15

decode_and_flushFunction · 0.45
bench_decode_schemaFunction · 0.45
bench_schema_inferenceFunction · 0.45
decodeMethod · 0.45
decodeMethod · 0.45
decodeMethod · 0.45
serializeMethod · 0.45
finishMethod · 0.45
is_emptyMethod · 0.45
advance_untilMethod · 0.45
skip_chrsMethod · 0.45
size_hintMethod · 0.45

Calls 1

num_buffered_rowsMethod · 0.80

Tested by 4

test_json_iteratorFunction · 0.36
test_type_conflict_nullsFunction · 0.36