DataDB

interface DataDB : DataWrite, DataRead, Closeable

Types

Companion
Link copied to clipboard
common
object Companion

Functions

close
Link copied to clipboard
common
abstract fun close()
delete
Link copied to clipboard
common
open fun delete(key: ReadMemory)
open override fun delete(key: ReadMemory, vararg options: Options.Deletes)
abstract fun delete(key: ReadMemory, vararg options: Options.DirectDelete)
findAll
Link copied to clipboard
common
abstract fun findAll(vararg options: Options.Find): DataCursor
findAllByIndex
Link copied to clipboard
common
abstract fun findAllByIndex(type: Int, index: String, vararg options: Options.Find): DataIndexCursor
findAllByType
Link copied to clipboard
common
abstract fun findAllByType(type: Int, vararg options: Options.Find): DataCursor
findById
Link copied to clipboard
common
abstract fun findById(type: Int, id: Value, isOpen: Boolean = false, vararg options: Options.Find): DataCursor
findByIndex
Link copied to clipboard
common
abstract fun findByIndex(type: Int, index: String, value: Value, isOpen: Boolean = false, vararg options: Options.Find): DataIndexCursor
get
Link copied to clipboard
common
abstract fun get(key: ReadMemory, vararg options: Options.Get): ReadAllocation?
getExtension
Link copied to clipboard
common
abstract fun <T : Any> getExtension(key: ExtensionKey<T>): T?
getIndexesOf
Link copied to clipboard
common
abstract fun getIndexesOf(key: ReadMemory): Set<String>
keyType
Link copied to clipboard
common
abstract fun keyType(key: ReadMemory): Int
newBatch
Link copied to clipboard
common
abstract fun newBatch(vararg options: Options.NewBatch): DataBatch
newKey
Link copied to clipboard
common
abstract fun newKey(type: Int, id: Value): ReadMemory
newSnapshot
Link copied to clipboard
common
abstract fun newSnapshot(vararg options: Options.NewSnapshot): DataSnapshot
put
Link copied to clipboard
common
open fun put(key: ReadMemory, body: Body, indexes: DataIndexMap = emptyMap()): Int
abstract fun put(key: ReadMemory, body: Body, indexes: DataIndexMap = emptyMap(), vararg options: Options.DirectPut): Int
open override fun put(key: ReadMemory, body: Body, indexes: DataIndexMap, vararg options: Options.Puts): Int

Properties

kv
Link copied to clipboard
common
abstract val kv: KeyValueDB