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

Function kind

cpp/src/arrow/datum.h:173–190  ·  view source on GitHub ↗

\brief The kind of data stored in Datum

Source from the content-addressed store, hash-verified

171
172 /// \brief The kind of data stored in Datum
173 Datum::Kind kind() const {
174 switch (this->value.index()) {
175 case 0:
176 return Datum::NONE;
177 case 1:
178 return Datum::SCALAR;
179 case 2:
180 return Datum::ARRAY;
181 case 3:
182 return Datum::CHUNKED_ARRAY;
183 case 4:
184 return Datum::RECORD_BATCH;
185 case 5:
186 return Datum::TABLE;
187 default:
188 return Datum::NONE;
189 }
190 }
191
192 /// \brief Retrieve the stored array as ArrayData
193 ///

Callers 1

device_typesMethod · 0.70

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected