Package org.apache.arrow.datafusion
Interface DataFrame
-
public interface DataFrameA dataframe is a rectangle shaped data that holds columns and rows, and can becollectedintobatchesand read viareader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<org.apache.arrow.vector.ipc.ArrowReader>collect(org.apache.arrow.memory.BufferAllocator allocator)Collect dataframe into a list of record batcheslonggetPointer()java.util.concurrent.CompletableFuture<java.lang.Void>show()Print results.
-
-
-
Method Detail
-
collect
java.util.concurrent.CompletableFuture<org.apache.arrow.vector.ipc.ArrowReader> collect(org.apache.arrow.memory.BufferAllocator allocator)
Collect dataframe into a list of record batches- Parameters:
allocator-buffer allocatorto allocate vectors within Reader- Returns:
readerinstance to extract the data, you are expected toArrowReader.close()it after usage to release memory
-
show
java.util.concurrent.CompletableFuture<java.lang.Void> show()
Print results.- Returns:
- null
-
getPointer
long getPointer()
-
-