Class ChildReferences
java.lang.Object
org.apache.arrow.adbc.driver.jni.impl.ChildReferences
- All Implemented Interfaces:
AutoCloseable
Track child resources for the ADBC FFI.
You are supposed to close statements before closing the connection (etc.). This class helps track those references to prevent misuse at runtime.
This class is thread-safe.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChildReferences
public ChildReferences()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
addReference
-
releaseReference
-