Package com.surrealdb

Class Native

java.lang.Object
com.surrealdb.Native
Direct Known Subclasses:
Array, Entry, EntryIterator, EntryMut, FileRef, Geometry, Id, Object, RecordId, Response, Surreal, Transaction, Value, ValueIterator, ValueMut

public abstract class Native extends Object
Base for types backed by a native pointer. Instances are only valid for the lifetime of the native resource (e.g. the parent Value or connection they were obtained from). Using an instance after the underlying resource has been released may cause undefined behavior or native errors.