MCPcopy Create free account
hub / github.com/apache/fory / field

Function field

cpp/fory/row/schema.h:581–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581inline FieldPtr field(std::string name, DataTypePtr type,
582 bool nullable = true) {
583 return std::make_shared<Field>(std::move(name), std::move(type), nullable);
584}
585
586inline FieldPtr field(std::string name, DataTypePtr type, bool nullable,
587 std::unordered_map<std::string, std::string> metadata) {

Callers 15

TESTFunction · 0.70
ProtoFieldClass · 0.50
ProtoOneofClass · 0.50
ProtoEnumClass · 0.50
ProtoMessageClass · 0.50
ProtoRpcMethodClass · 0.50
ProtoServiceClass · 0.50
ProtoSchemaClass · 0.50
FbsFieldClass · 0.50
FbsEnumClass · 0.50
FbsUnionClass · 0.50

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.56