MCPcopy Create free account
hub / github.com/apache/datafusion / into_state

Method into_state

datafusion/physical-expr-common/src/binary_map.rs:78–80  ·  view source on GitHub ↗

Converts this set into a `StringArray`/`LargeStringArray` or `BinaryArray`/`LargeBinaryArray` containing each distinct value that was interned. This is done without copying the values.

(self)

Source from the content-addressed store, hash-verified

76 /// `BinaryArray`/`LargeBinaryArray` containing each distinct value that
77 /// was interned. This is done without copying the values.
78 pub fn into_state(self) -> ArrayRef {
79 self.0.into_state()
80 }
81
82 /// Returns the total number of distinct values (including nulls) seen so far
83 pub fn len(&self) -> usize {

Callers 5

emitMethod · 0.45
emitMethod · 0.45
stateMethod · 0.45
assert_setFunction · 0.45
into_arrayMethod · 0.45

Calls 5

single_null_bufferFunction · 0.85
newFunction · 0.85
mapMethod · 0.45
lenMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected