Xtdb
Types
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
class Connection(val allocator: BufferAllocator, dbCat: Database.Catalog, qSrc: IQuerySource, sqlPlanner: SqlPlanner, var dbName: DatabaseName, var clock: InstantSource, var defaultTz: ZoneId, tracer: Tracer?, metrics: ConnectionMetrics?) : AdbcConnection
A connection to one database, dbName.
Link copied to clipboard
data class ExecutedTx(val txId: MessageId, val systemTime: Instant, val committed: Boolean, val error: Throwable?)
Link copied to clipboard
A statement on a Connection.
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The names of the databases this node currently serves.
Link copied to clipboard
Link copied to clipboard
The port the healthz server bound to, or -1 if healthz isn't configured on this node.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Opens an in-process connection to the named database.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The transaction goes to TxOpts.dbName, defaulting to the primary database xtdb, and may only refer to tables within it — see Connection.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Each database's latest-completed transaction, per partition.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The transaction goes to TxOpts.dbName, defaulting to the primary database xtdb, and may only refer to tables within it — see Connection.