Interface ArrowTable

  • All Superinterfaces:
    com.alibaba.fastffi.CXXPointer, com.alibaba.fastffi.FFIPointer, com.alibaba.fastffi.FFIType

    public interface ArrowTable
    extends com.alibaba.fastffi.CXXPointer
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  ArrowTable.Static  
    • Method Detail

      • fromVectorSchemaRoot

        static StdSharedPtr<ArrowTable> fromVectorSchemaRoot​(org.apache.arrow.memory.BufferAllocator allocator,
                                                             org.apache.arrow.vector.VectorSchemaRoot vsr,
                                                             org.apache.arrow.vector.dictionary.DictionaryProvider provider)
        Convert VectorSchemaRoot to C++ arrow::Table
        Parameters:
        allocator - Buffer allocator for allocating C data interface fields
        vsr - Vector schema root to export
        provider - Dictionary provider for dictionary encoded vectors (optional)
        Returns:
        ArrowTbale shared pointer
      • num_rows

        long num_rows()