| | |
| | | * otherwise. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | * @throws DatabaseException If an error occurs in the JE database. |
| | | * @throws JebException If an error occurs in the JE database. |
| | | */ |
| | | public boolean add(long entryID, AttributeValue[] values) |
| | | throws JebException, DatabaseException, DirectoryException |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | if(values == null) |
| | | { |
| | |
| | | * otherwise. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | * @throws DatabaseException If an error occurs in the JE database. |
| | | * @throws JebException If an error occurs in the JE database. |
| | | */ |
| | | public boolean remove(long entryID, AttributeValue[] values) |
| | | throws JebException, DatabaseException, DirectoryException |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | if(entryIDs == null || entryIDs.length == 0) |
| | | { |
| | |
| | | * if it is found or a negative index if its not found. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | * @throws DatabaseException If an error occurs in the JE database. |
| | | * @throws JebException If an error occurs in the JE database. |
| | | */ |
| | | int binarySearch(long entryID, AttributeValue[] values) |
| | | throws JebException, DatabaseException, DirectoryException |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | if(entryIDs == null || entryIDs.length == 0) |
| | | { |
| | |
| | | * the database or NULL if this set is empty. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | * @throws DatabaseException If an error occurs in the JE database. |
| | | * @throws JebException If an error occurs in the JE database. |
| | | */ |
| | | public byte[] getKeyBytes() |
| | | throws JebException, DatabaseException, DirectoryException |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | if(entryIDs == null || entryIDs.length == 0) |
| | | { |
| | |
| | | * the database or NULL if this set is empty or unbounded. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | * @throws DatabaseException If an error occurs in the JE database. |
| | | * @throws JebException If an error occurs in the JE database. |
| | | */ |
| | | public SortValues getKeySortValues() |
| | | throws JebException, DatabaseException, DirectoryException |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | if(entryIDs == null || entryIDs.length == 0) |
| | | { |
| | |
| | | * @return The byte array representation of the attribute value. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | * @throws DatabaseException If an error occurs in the JE database. |
| | | * @throws JebException If an error occurs in the JE database. |
| | | */ |
| | | public byte[] getValue(int index) |
| | | throws JebException, DatabaseException, DirectoryException |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | if(valuesBytesOffsets == null) |
| | | { |