public interface Importer extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
createTree(TreeName name)
Creates a new tree identified by the provided name.
|
boolean |
delete(TreeName treeName,
org.forgerock.opendj.ldap.ByteSequence key)
Deletes the record with the provided key, in the tree whose name is provided.
|
void |
put(TreeName treeName,
org.forgerock.opendj.ldap.ByteSequence key,
org.forgerock.opendj.ldap.ByteSequence value)
Creates a record with the provided key and value in the tree identified by the provided name.
|
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.
|
void createTree(TreeName name)
name - the tree namevoid put(TreeName treeName, org.forgerock.opendj.ldap.ByteSequence key, org.forgerock.opendj.ldap.ByteSequence value)
treeName - the tree namekey - the new record's keyvalue - the new record's valueboolean delete(TreeName treeName, org.forgerock.opendj.ldap.ByteSequence key)
treeName - the tree namekey - the key of the record to deletetrue if the record could be deleted, false otherwiseorg.forgerock.opendj.ldap.ByteString read(TreeName treeName, org.forgerock.opendj.ldap.ByteSequence key)
treeName - the tree namekey - the record's keynull if none existsvoid close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.