Package org.apache.graphar.arrow
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 Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description 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::Tablelong
num_rows()
StdString
ToString()
-
-
-
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 fieldsvsr
- Vector schema root to exportprovider
- Dictionary provider for dictionary encoded vectors (optional)- Returns:
- ArrowTbale shared pointer
-
num_rows
long num_rows()
-
ToString
StdString ToString()
-
-