| 88 | } |
| 89 | |
| 90 | RowVectorPtr deserialize( |
| 91 | const RowTypePtr& rowType, |
| 92 | const std::string& input, |
| 93 | memory::MemoryPool* pool) { |
| 94 | auto byteStream = toByteStream(input); |
| 95 | auto serde = std::make_unique<serializer::presto::PrestoVectorSerde>(); |
| 96 | RowVectorPtr result; |
| 97 | serde->deserialize(byteStream.get(), pool, rowType, &result, nullptr); |
| 98 | return result; |
| 99 | } |
| 100 | |
| 101 | class ServerResponse { |
| 102 | public: |