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

Function ExampleIntSchema

cpp/src/arrow/flight/test_util.cc:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123std::shared_ptr<Schema> ExampleIntSchema() {
124 auto f0 = field("f0", int8());
125 auto f1 = field("f1", uint8());
126 auto f2 = field("f2", int16());
127 auto f3 = field("f3", uint16());
128 auto f4 = field("f4", int32());
129 auto f5 = field("f5", uint32());
130 auto f6 = field("f6", int64());
131 auto f7 = field("f7", uint64());
132 return ::arrow::schema({f0, f1, f2, f3, f4, f5, f6, f7});
133}
134
135std::shared_ptr<Schema> ExampleFloatSchema() {
136 auto f0 = field("f0", float16());

Callers 10

ExampleFlightInfoFunction · 0.85
TestDoExchangeGetMethod · 0.85
TestDoExchangePutMethod · 0.85
TestDoExchangeEchoMethod · 0.85
TestDoPutMethod · 0.85
TestDoPutReadMetadataMethod · 0.85
RunExchangeGetMethod · 0.85
RunExchangePutMethod · 0.85

Calls 2

fieldFunction · 0.50
schemaFunction · 0.50

Tested by

no test coverage detected