public interface ReadableTransaction
Modifier and Type | Method and Description |
---|---|
long |
getRecordCount(TreeName treeName)
Returns the number of key/value pairs in the provided tree.
|
Cursor<ByteString,ByteString> |
openCursor(TreeName treeName)
Opens a cursor on the tree whose name is provided.
|
ByteString |
read(TreeName treeName,
ByteSequence key)
Reads the record's value associated to the provided key, in the tree whose name is provided.
|
ByteString read(TreeName treeName, ByteSequence key)
treeName
- the tree namekey
- the record's keynull
if none existsCursor<ByteString,ByteString> openCursor(TreeName treeName)
treeName
- the tree namelong getRecordCount(TreeName treeName)
treeName
- the tree nameCopyright 2010-2022 ForgeRock AS.