| | |
| | | } |
| | | } |
| | | |
| | | private void initializeSuffixes(WriteableStorage txn) throws StorageRuntimeException, ConfigException, |
| | | InitializationException |
| | | private void initializeSuffixes(WriteableStorage txn) throws StorageRuntimeException, |
| | | ConfigException |
| | | { |
| | | for (EntryContainer ec : rootContainer.getEntryContainers()) |
| | | { |
| | |
| | | } |
| | | |
| | | private Suffix getSuffix(WriteableStorage txn, EntryContainer entryContainer) |
| | | throws ConfigException, InitializationException |
| | | throws ConfigException |
| | | { |
| | | DN baseDN = entryContainer.getBaseDN(); |
| | | EntryContainer sourceEntryContainer = null; |
| | |
| | | |
| | | /** |
| | | * Print start message. |
| | | * |
| | | * @throws StorageRuntimeException |
| | | * If an database error occurred. |
| | | */ |
| | | public void printStartMessage(WriteableStorage txn) throws StorageRuntimeException |
| | | void printStartMessage(WriteableStorage txn) throws StorageRuntimeException |
| | | { |
| | | this.txn = txn; |
| | | totalEntries = suffix.getID2Entry().getRecordCount(txn); |
| | |
| | | * |
| | | * @return Entry's suffix instance; |
| | | */ |
| | | public Suffix getSuffix() |
| | | private Suffix getSuffix() |
| | | { |
| | | return suffix; |
| | | } |
| | |
| | | * |
| | | * @return The entry ID associated with the entry. |
| | | */ |
| | | public EntryID getEntryID() |
| | | private EntryID getEntryID() |
| | | { |
| | | return entryID; |
| | | } |
| | |
| | | * |
| | | * @return The attribute type. |
| | | */ |
| | | public AttributeType getAttributeType() |
| | | private AttributeType getAttributeType() |
| | | { |
| | | return attributeType; |
| | | } |
| | |
| | | * |
| | | * @return The index type. |
| | | */ |
| | | public ImportIndexType getIndexType() |
| | | private ImportIndexType getIndexType() |
| | | { |
| | | return indexType; |
| | | } |
| | |
| | | * |
| | | * @return The index key name. |
| | | */ |
| | | public String getName() |
| | | private String getName() |
| | | { |
| | | return attributeType.getPrimaryName() + "." |
| | | + StaticUtils.toLowerCase(indexType.name()); |
| | |
| | | * |
| | | * @return The entry limit. |
| | | */ |
| | | public int getEntryLimit() |
| | | private int getEntryLimit() |
| | | { |
| | | return entryLimit; |
| | | } |