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

Method Put

cpp/src/parquet/encoder.cc:927–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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