Skip to content

//tempest2/app.cash.tempest2/TransactionWriteSet/Builder

Builder

[jvm]\ class Builder

Constructors

Builder [jvm]
constructor()

Properties

Name Summary
size [jvm]
val size: Int

Functions

Name Summary
addAll [jvm]
fun addAll(builder: TransactionWriteSet.Builder)
build [jvm]
fun build(): TransactionWriteSet
checkCondition [jvm]
@JvmOverloads
fun checkCondition(key: Any, expression: Expression? = null): TransactionWriteSet.Builder
delete [jvm]
@JvmOverloads
fun delete(key: Any, expression: Expression? = null): TransactionWriteSet.Builder
idempotencyToken [jvm]
fun idempotencyToken(idempotencyToken: String): TransactionWriteSet.Builder
save [jvm]
@JvmOverloads
fun save(item: Any, expression: Expression? = null): TransactionWriteSet.Builder
This adds a put operation to clear and replace all attributes, including unmodeled ones. Partial update is not supported.