Package org.apache.arrow.datafusion
Interface ExecutionContext
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface ExecutionContext extends java.lang.AutoCloseableAn execution context holds resources and is the entrance for obtainingDataFrame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetPointer()RuntimegetRuntime()Get the runtime associated with this contextjava.util.concurrent.CompletableFuture<java.lang.Void>registerCsv(java.lang.String name, java.nio.file.Path path)Registering a csv file with the contextjava.util.concurrent.CompletableFuture<java.lang.Void>registerParquet(java.lang.String name, java.nio.file.Path path)Registering a parquet file with the contextjava.util.concurrent.CompletableFuture<DataFrame>sql(java.lang.String sql)Obtain theDataFrameby running thesqlagainst the datafusion library
-
-
-
Method Detail
-
sql
java.util.concurrent.CompletableFuture<DataFrame> sql(java.lang.String sql)
Obtain theDataFrameby running thesqlagainst the datafusion library
-
registerCsv
java.util.concurrent.CompletableFuture<java.lang.Void> registerCsv(java.lang.String name, java.nio.file.Path path)Registering a csv file with the context
-
registerParquet
java.util.concurrent.CompletableFuture<java.lang.Void> registerParquet(java.lang.String name, java.nio.file.Path path)Registering a parquet file with the context
-
getRuntime
Runtime getRuntime()
Get the runtime associated with this context
-
getPointer
long getPointer()
-
-