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

Method Put

cpp/src/parquet/encoder.cc:925–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923 using TypedEncoder<DType>::Put;
924
925 void Put(const T* buffer, int num_values) override {
926 if (num_values > 0) {
927 PARQUET_THROW_NOT_OK(
928 this->sink_.Append(reinterpret_cast<const uint8_t*>(buffer),
929 num_values * static_cast<int64_t>(sizeof(T))));
930 this->num_values_in_buffer_ += num_values;
931 }
932 }
933
934 void Put(const ::arrow::Array& values) override {
935 if (values.type_id() != ArrowType::type_id) {

Callers

nothing calls this directly

Calls 7

ParquetExceptionFunction · 0.85
AppendMethod · 0.45
type_idMethod · 0.45
ToStringMethod · 0.45
typeMethod · 0.45
dataMethod · 0.45
PutSpacedMethod · 0.45

Tested by

no test coverage detected