org.mapdb / DB / TreeSetMaker

TreeSetMaker

class TreeSetMaker<E> : Maker<NavigableSet<E>>


Constructors

<init> TreeSetMaker(db: DB, name: String)

Properties

db val db: DB
maker val maker: TreeMapMaker<E, Any?>
name val name: String
type val type: String

Functions

counterEnable fun counterEnable(): TreeSetMaker<E>
create2 fun create2(catalog: SortedMap<String, String>): NavigableSet<E>
maxNodeSize fun maxNodeSize(size: Int): TreeSetMaker<E>
open2 fun open2(catalog: SortedMap<String, String>): NavigableSet<E>
serializer fun <A> serializer(serializer: GroupSerializer<A>): TreeSetMaker<A>
verify fun verify(): Unit

Inherited Functions

create open fun create(): E

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

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.