hi Wenjian,

In C++ you can use ListBuilder together with UInt8Builder. There are
examples of using ListBuilder you can look at in
src/arrow/array-test.cc.

For Java you might want to have a look at how Spark SQL converts its
Array<T> types into Arrow (there should be other examples in the Java
unit test suite, too):

https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowWriter.scala

- Wes

On Mon, Aug 13, 2018 at 6:00 AM, Xu,Wenjian <zero...@gmail.com> wrote:
> Hi,
>
> If I want to create list<list<byte>> structure (as shown in
> https://arrow.apache.org/docs/memory_layout.html), what class(es) do I need
> to use in Java API and C++ API?
>
> Any suggestion would be appreciated. Thanks.
>
> Best regards,
> Wenjian

Reply via email to