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<org.forgerock.opendj.ldap.ByteString,org.forgerock.opendj.ldap.ByteString> |
openCursor(TreeName treeName)
Opens a cursor on the tree whose name is provided.
|
org.forgerock.opendj.ldap.ByteString |
read(TreeName treeName,
org.forgerock.opendj.ldap.ByteSequence key)
Reads the record's value associated to the provided key, in the tree whose name is provided.
|
org.forgerock.opendj.ldap.ByteString read(TreeName treeName, org.forgerock.opendj.ldap.ByteSequence key)
treeName - the tree namekey - the record's keynull if none existsCursor<org.forgerock.opendj.ldap.ByteString,org.forgerock.opendj.ldap.ByteString> openCursor(TreeName treeName)
treeName - the tree namelong getRecordCount(TreeName treeName)
treeName - the tree nameCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.