Store

lightdb.store.Store
See theStore companion object
abstract class Store[Doc <: Document[Doc], Model <: DocumentModel[Doc]](val name: String, val path: Option[Path], val model: Model, val lightDB: LightDB, val storeManager: StoreManager) extends Initializable, Disposable

Attributes

Companion
object
Graph
Supertypes
trait Disposable
class Object
trait Matchable
class Any
Known subtypes
class HashMapStore[Doc, Model]
class Collection[Doc, Model]
class SplitCollection[Doc, Model, Storage, Searching]
trait PrefixScanningStore[Doc, Model]

Members list

Type members

Classlikes

object transaction

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object trigger extends StoreTriggers[Doc, Model]

Attributes

Supertypes
class StoreTriggers[Doc, Model]
trait StoreTrigger[Doc, Model]
class Object
trait Matchable
class Any
Self type
trigger.type

Types

type TX <: Transaction[Doc, Model]

Value members

Abstract methods

def storeMode: StoreMode[Doc, Model]

Concrete methods

def optimize(): Task[Unit]

Optimizes this store. This allows the implementation an opportunity to clean up, optimize, etc. to improve the performance of the store.

Optimizes this store. This allows the implementation an opportunity to clean up, optimize, etc. to improve the performance of the store.

Attributes

def reIndex(): Task[Boolean]
def reIndex(doc: Doc): Task[Boolean]
def verify(): Task[Boolean]

Inherited methods

def isDisposes: Boolean

Attributes

Inherited from:
Disposable
def isInitialized: Boolean

Attributes

Inherited from:
Initializable

Concrete fields

lazy val fields: List[Field[Doc, _]]
lazy val hasSpatial: Task[Boolean]
lazy val idField: UniqueIndex[Doc, Id[Doc]]
lazy val lock: LockManager[Id[Doc], Doc]
val model: Model
val name: String
val path: Option[Path]
lazy val t: Transactionless[Doc, Model]

Inherited fields

lazy val dispose: Task[Unit]

Calls doDispose() exactly one time. Safe to call multiple times.

Calls doDispose() exactly one time. Safe to call multiple times.

Attributes

Inherited from:
Disposable
lazy val init: Task[Unit]

Calls initialize() exactly one time. Safe to call multiple times.

Calls initialize() exactly one time. Safe to call multiple times.

Attributes

Inherited from:
Initializable