[C++] [Improvement] Provide more writing methods in the C++ library
Is your feature request related to a problem? Please describe.
Currently, the low-level writers (VertexPropertyWriter and EdgeChunkWriter) only support to write Arrow tables, thus for the users, it is required to construct such tables before writing (e.g., writing the PageRank results saved in a std::vector into GAR files). For high-level writers (VerticesBuilder and EdgesBuilder), it is required to construct the Vertex/Edge firstly, which is the internal high-level data structure in GraphAr
Describe the solution you'd like
We are proposed to provide more built-in writing methods in C++ Writer SDK, to support additional data structures besides Arrow tables and GraphAr Vertex/Edge. A possible solution is to use containers from the STL, as Boost Graph Library does, including:
- std::vector
- std::list
- std::slist
- std::set
- std::hash_set
- std::multiset
@freshyl @KateHed Can you help on this issue?