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

Method Reconstruct

cpp/src/parquet/schema_test.cc:1956–1971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1954class TestSchemaElementConstruction : public ::testing::Test {
1955 public:
1956 TestSchemaElementConstruction* Reconstruct(
1957 const SchemaElementConstructionArguments& c) {
1958 // Make node, create serializable Thrift object from it ...
1959 node_ = PrimitiveNode::Make(c.name, Repetition::REQUIRED, c.logical_type,
1960 c.physical_type, c.physical_length);
1961 element_.reset(new format::SchemaElement);
1962 node_->ToParquet(element_.get());
1963
1964 // ... then set aside some values for later inspection.
1965 name_ = c.name;
1966 expect_converted_type_ = c.expect_converted_type;
1967 converted_type_ = c.converted_type;
1968 expect_logicalType_ = c.expect_logicalType;
1969 check_logicalType_ = c.check_logicalType;
1970 return this;
1971 }
1972
1973 TestSchemaElementConstruction* LegacyReconstruct(
1974 const LegacySchemaElementConstructionArguments& c) {

Callers 1

TEST_FFunction · 0.45

Calls 4

ToParquetMethod · 0.80
MakeFunction · 0.70
resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected