Uses of Class
org.opends.server.backends.pluggable.spi.TreeName
Packages that use 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
Methods in org.opends.server.backends.jeb that return types with arguments of type TreeName -
Uses of TreeName in org.opends.server.backends.pluggable.spi
Methods in org.opends.server.backends.pluggable.spi that return TreeNameModifier and TypeMethodDescriptionstatic TreeNameBuilds a newTreeNameobject based on the provided string representation.Methods in org.opends.server.backends.pluggable.spi that return types with arguments of type TreeNameModifier and TypeMethodDescriptionStorage.listTrees()Lists the trees that exist in this storage.Methods in org.opends.server.backends.pluggable.spi with parameters of type TreeNameModifier and TypeMethodDescriptionvoidClears the tree whose name is provided.intdefault voidWriteableTransaction.createTreeIfAbsent(TreeName name) Ensures that the tree identified by the provided name exists, creating it if it does not.default booleanWriteableTransaction.delete(TreeName treeName, ByteString key) Deletes the record with the provided key, in the tree whose name is provided.default voidWriteableTransaction.deleteTree(TreeName name) Deletes the tree identified by the provided name if it exists.default longReadableTransaction.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.voidImporter.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 voidWriteableTransaction.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 ByteStringReadableTransaction.read(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.default booleanWriteableTransaction.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.