trait AsyncLightDB extends FeatureSupport[DBFeatureKey]
- Self Type
- AsyncLightDB
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AsyncLightDB
- FeatureSupport
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def directory: Option[Path]
The base directory for this database.
The base directory for this database. If None, the database is expected to operate entirely in memory.
- abstract def storeManager: StoreManager
Default StoreManager to use for collections that do not specify a Store.
- abstract def upgrades: List[AsyncDatabaseUpgrade]
List of upgrades that should be applied at the start of this database.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[T](key: DBFeatureKey[T]): T
- Definition Classes
- FeatureSupport
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def backingStore: AsyncCollection[KeyValue, KeyValue.type]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def collection[Doc <: Document[Doc], Model <: DocumentModel[Doc]](model: Model, name: Option[String] = None, store: Option[Store[Doc, Model]] = None, storeManager: Option[StoreManager] = None, maxInsertBatch: Int = 1_000_000, cacheQueries: Boolean = Collection.DefaultCacheQueries): AsyncCollection[Doc, Model]
- def dispose(): IO[Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def featureMap: Map[DBFeatureKey[Any], Any]
- Definition Classes
- FeatureSupport
- def features: Iterable[Any]
- Definition Classes
- FeatureSupport
- def get[T](key: DBFeatureKey[T]): Option[T]
- Definition Classes
- FeatureSupport
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getOrCreate[T](key: DBFeatureKey[T], create: => T): T
- Definition Classes
- FeatureSupport
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def init(): IO[Boolean]
- def initialize(): IO[Unit]
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name: String
Identifiable name for this database.
Identifiable name for this database. Defaults to using the class name.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def put[T](key: DBFeatureKey[T], value: T): Unit
- Definition Classes
- AsyncLightDB → FeatureSupport
- def reIndex(): IO[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncateOnInit: Boolean
Automatically truncates all collections in the database during initialization if this is set to true.
Automatically truncates all collections in the database during initialization if this is set to true. Defaults to false.
- Attributes
- protected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object stored
- object underlying extends LightDB
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)