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

Method IsInteger

cpp/src/arrow/compute/row/encode_internal.cc:438–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438bool EncoderBinary::IsInteger(const KeyColumnMetadata& metadata) {
439 if (metadata.is_null_type) {
440 return false;
441 }
442 bool is_fixed_length = metadata.is_fixed_length;
443 auto size = metadata.fixed_length;
444 return is_fixed_length &&
445 (size == 0 || size == 1 || size == 2 || size == 4 || size == 8);
446}
447
448void EncoderBinary::Decode(uint32_t start_row, uint32_t num_rows,
449 uint32_t offset_within_row, const RowTableImpl& rows,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected