Class SessionContext

java.lang.Object
org.apache.datafusion.SessionContext
All Implemented Interfaces:
AutoCloseable

public final class SessionContext extends Object implements AutoCloseable
A DataFusion session context.

Instances are not thread-safe. Concurrent calls to any of sql(java.lang.String), registerParquet(java.lang.String, java.lang.String), or close() from different threads can produce a use-after-free on the native side. Callers must externally synchronize, or confine each context to a single thread.