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

Method ColumnDescriptor

cpp/src/parquet/schema.cc:899–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897}
898
899ColumnDescriptor::ColumnDescriptor(schema::NodePtr node, int16_t max_definition_level,
900 int16_t max_repetition_level,
901 const SchemaDescriptor* schema_descr)
902 : node_(std::move(node)),
903 max_definition_level_(max_definition_level),
904 max_repetition_level_(max_repetition_level) {
905 if (!node_->is_primitive()) {
906 throw ParquetException("Must be a primitive type");
907 }
908 primitive_node_ = static_cast<const PrimitiveNode*>(node_.get());
909}
910
911bool ColumnDescriptor::Equals(const ColumnDescriptor& other) const {
912 return primitive_node_->Equals(other.primitive_node_) &&

Callers

nothing calls this directly

Calls 2

ParquetExceptionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected