| 496 | } |
| 497 | template<typename T> const T *header_as() const; |
| 498 | const org::apache::arrow::flatbuf::Schema *header_as_Schema() const { |
| 499 | return header_type() == org::apache::arrow::flatbuf::MessageHeader_Schema ? static_cast<const org::apache::arrow::flatbuf::Schema *>(header()) : nullptr; |
| 500 | } |
| 501 | const org::apache::arrow::flatbuf::DictionaryBatch *header_as_DictionaryBatch() const { |
| 502 | return header_type() == org::apache::arrow::flatbuf::MessageHeader_DictionaryBatch ? static_cast<const org::apache::arrow::flatbuf::DictionaryBatch *>(header()) : nullptr; |
| 503 | } |
no test coverage detected