Package dev.vortex.api
Class Session
java.lang.Object
dev.vortex.api.Session
Handle to a native Vortex session. The session owns a current-thread async runtime and is the entry point for opening
data sources and writers.
Sessions are safe to share across threads within a process, though concrete operations (scans, writes) remain single-threaded on the session's runtime thread.
Native resources are released automatically when the session becomes unreachable, via VortexCleaner.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Sessioncreate()Create a new session.voidenableEdition(String edition) Enable the edition with the nameedition, for examplecore2025.10.0.longInternal: returns the native pointer.
-
Method Details
-
create
Create a new session. -
enableEdition
Enable the edition with the nameedition, for examplecore2025.10.0. The edition replaces the enabled edition of the same family. Only writers that start after this call use it.Select an older edition to write files that older Vortex readers can read.
-
nativePointer
public long nativePointer()Internal: returns the native pointer. Do not free directly.
-