Types

Link copied to clipboard
data object Abort : TxOp
Link copied to clipboard
@Serializable
data class AssertExists(val query: XtqlQuery) : TxOp.XtqlOp
Link copied to clipboard
@Serializable
data class AssertNotExists(val query: XtqlQuery) : TxOp.XtqlOp
Link copied to clipboard
@Serializable
data class Call(val fnId: Any, val args: List<Any>) : TxOp
Link copied to clipboard
@Serializable
data class Delete(val table: String, val forValidTime: TemporalFilter.TemporalExtents? = null, val bindSpecs: List<Binding>? = null, val unifyClauses: List<XtqlQuery.UnifyClause>? = null) : TxOp.XtqlOp
Link copied to clipboard
@Serializable
data class DeleteDocs(val tableName: String, val docIds: List<*>, val validFrom: Instant? = null, val validTo: Instant? = null) : TxOp
Link copied to clipboard
@Serializable
data class Erase(val table: String, val bindSpecs: List<Binding>? = null, val unifyClauses: List<XtqlQuery.UnifyClause>? = null) : TxOp.XtqlOp
Link copied to clipboard
@Serializable
data class EraseDocs(val tableName: String, val docIds: List<*>) : TxOp
Link copied to clipboard
@Serializable
data class Insert(val table: String, val query: XtqlQuery) : TxOp.XtqlOp
Link copied to clipboard
@Serializable
data class PutDocs(val tableName: String, val docs: List<Map<String, *>>, val validFrom: Instant? = null, val validTo: Instant? = null) : TxOp
Link copied to clipboard
@Serializable
data class Sql(val sql: String, val argRows: List<List<*>>? = null) : TxOp
Link copied to clipboard
data class SqlByteArgs(val sql: String, val argBytes: ByteBuffer? = null) : TxOp
Link copied to clipboard
@Serializable
data class Update(val table: String, val forValidTime: TemporalFilter.TemporalExtents? = null, val bindSpecs: List<Binding>? = null, val setSpecs: List<Binding>, val unifyClauses: List<XtqlQuery.UnifyClause>? = null) : TxOp.XtqlOp
Link copied to clipboard
@Serializable(with = TxOp.XtqlAndArgs.Serde::class)
data class XtqlAndArgs(val op: TxOp.XtqlOp, val argRows: List<Map<String, *>>? = null) : TxOp
Link copied to clipboard
@Serializable(with = TxOp.XtqlOp.Serde::class)
interface XtqlOp : TxOp