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

Function Make

cpp/src/parquet/schema.h:204–211  ·  view source on GitHub ↗

A field_id -1 (or any negative value) will be serialized as null in Thrift

Source from the content-addressed store, hash-verified

202
203 // A field_id -1 (or any negative value) will be serialized as null in Thrift
204 static inline NodePtr Make(const std::string& name, Repetition::type repetition,
205 Type::type type,
206 ConvertedType::type converted_type = ConvertedType::NONE,
207 int length = -1, int precision = -1, int scale = -1,
208 int field_id = -1) {
209 return NodePtr(new PrimitiveNode(name, repetition, type, converted_type, length,
210 precision, scale, field_id));
211 }
212
213 // If no logical type, pass LogicalType::None() or nullptr
214 // A field_id -1 (or any negative value) will be serialized as null in Thrift

Callers 15

TESTFunction · 0.70
WriteTestDataMethod · 0.70
TEST_FFunction · 0.70
FileSerializerMethod · 0.70
StartFileMethod · 0.70
FromConvertedTypeMethod · 0.70
FromThriftMethod · 0.70
StringMethod · 0.70
MapMethod · 0.70
ListMethod · 0.70
EnumMethod · 0.70

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.56
WriteTestDataMethod · 0.56
TEST_FFunction · 0.56
BuildReaderMethod · 0.56
BuildWriterMethod · 0.56
metadata_num_valuesMethod · 0.56
metadata_is_stats_setMethod · 0.56
metadata_encodingsMethod · 0.56
metadata_accessorMethod · 0.56