org.mapdb / DB / Maker

Maker

abstract class Maker<E>


Constructors

<init> Maker()

Properties

db abstract val db: DB
name abstract val name: String
type abstract val type: String

Functions

create open fun create(): E

Creates new collection if it does not exist, or throw {@link DBException.WrongConfiguration} if collection already exists.

create2 abstract fun create2(catalog: SortedMap<String, String>): E
createOrOpen open fun createOrOpen(): E

Create new collection or open existing.

make open fun make(): E

Create new collection or open existing.

make2 fun make2(create: Boolean?): E
makeOrGet open fun makeOrGet(): E
open open fun open(): E

Open existing collection, or throw {@link DBException.WrongConfiguration} if collection already exists.

open2 abstract fun open2(catalog: SortedMap<String, String>): E
verify open fun verify(): Unit

Inheritors

AtomicBooleanMaker class AtomicBooleanMaker : Maker<Boolean>
AtomicIntegerMaker class AtomicIntegerMaker : Maker<Integer>
AtomicLongMaker class AtomicLongMaker : Maker<Long>
AtomicStringMaker class AtomicStringMaker : Maker<String>
AtomicVarMaker class AtomicVarMaker<E> : Maker<Var<E>>
HashMapMaker class HashMapMaker<K, V> : Maker<HTreeMap<K, V>>
HashSetMaker class HashSetMaker<E> : Maker<KeySet<E>>
IndexTreeListMaker class IndexTreeListMaker<E> : Maker<IndexTreeList<E>>
IndexTreeLongLongMapMaker class IndexTreeLongLongMapMaker : Maker<IndexTreeLongLongMap>
TreeMapMaker class TreeMapMaker<K, V> : Maker<BTreeMap<K, V>>
TreeSetMaker class TreeSetMaker<E> : Maker<NavigableSet<E>>