Uses of Class
org.opends.server.backends.pluggable.spi.TreeName
Package
Description
Contains the code for the Directory Server backend that uses the Berkeley DB Java Edition as the repository for
storing entry and index information.
Interfaces and classes required when implementing new storage engines for the pluggable backend.
-
Uses of TreeName in org.opends.server.backends.jeb
-
Uses of TreeName in org.opends.server.backends.pluggable.spi
Modifier and TypeMethodDescriptionstatic TreeName
Builds a newTreeName
object based on the provided string representation.Modifier and TypeMethodDescriptionStorage.listTrees()
Lists the trees that exist in this storage.Modifier and TypeMethodDescriptionvoid
Clears the tree whose name is provided.int
default void
WriteableTransaction.createTreeIfAbsent
(TreeName name) Ensures that the tree identified by the provided name exists, creating it if it does not.default boolean
WriteableTransaction.delete
(TreeName treeName, ByteString key) Deletes the record with the provided key, in the tree whose name is provided.default void
WriteableTransaction.deleteTree
(TreeName name) Deletes the tree identified by the provided name if it exists.default long
ReadableTransaction.getRecordCount
(TreeName treeName) Returns the number of key/value pairs in the provided tree.Importer.openCursor
(TreeName treeName) Opens a cursor on the tree whose name is provided.default Cursor<ByteString,
ByteString> ReadableTransaction.openCursor
(TreeName treeName, ReadableTransaction.ReadOption... options) Opens a non-positioned cursor on the tree whose name is provided.void
Importer.put
(TreeName treeName, ByteString key, ByteString value) Creates a record with the provided key and value in the tree identified by the provided name.default void
WriteableTransaction.put
(TreeName treeName, ByteString key, ByteString value) Adds a record with the provided key and value, replacing any existing record having the same key.Importer.read
(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.default ByteString
ReadableTransaction.read
(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.default boolean
WriteableTransaction.update
(TreeName treeName, ByteString key, UpdateFunction f) Atomically adds, deletes, or replaces a record with the provided key according to the new value computed by the update function.