Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TxnKVOperation

Holds operation to apply to the key/value store inside a transaction

Hierarchy

  • TxnKVOperation

Index

Constructors

constructor

  • Returns TxnKVOperation

  • Parameters

    Returns TxnKVOperation

Methods

getFlags

  • getFlags(): number
  • Set the flags attached to this entry. Clients can choose to use this however makes sense for their application.

    Returns number

getIndex

  • getIndex(): number
  • Set the index used for locking, unlocking, and check-and-set operations.

    Returns number

getKey

  • getKey(): string
  • Set the key

    Returns string

getSession

  • getSession(): string
  • Set the session used for locking, unlocking, and check-and-set operations.

    Returns string

getType

  • Set the type of operation to perform

    Returns TxnKVVerb

getValue

  • getValue(): string
  • Set the value

    Returns string

setFlags

  • Set the flags attached to this entry. Clients can choose to use this however makes sense for their application.

    Parameters

    • flags: number

    Returns TxnKVOperation

setIndex

  • Set the index used for locking, unlocking, and check-and-set operations.

    Parameters

    • index: number

    Returns TxnKVOperation

setKey

  • Set the key

    Parameters

    • key: string

    Returns TxnKVOperation

setSession

  • Set the session used for locking, unlocking, and check-and-set operations.

    Parameters

    • session: string

    Returns TxnKVOperation

setType

  • Set the type of operation to perform

    Parameters

    Returns TxnKVOperation

setValue

  • Set the value

    Parameters

    • value: string

    Returns TxnKVOperation

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc