| | |
| | | { |
| | | DataConfig entryDataConfig = |
| | | new DataConfig(config.isBackendEntriesCompressed(), |
| | | config.isBackendCompactEncoding()); |
| | | config.isBackendCompactEncoding(), |
| | | rootContainer.getCompressedSchema()); |
| | | |
| | | id2entry = new ID2Entry(databasePrefix + "_" + ID2ENTRY_DATABASE_NAME, |
| | | entryDataConfig, env, this); |
| | |
| | | } |
| | | |
| | | /** |
| | | * Retrieves a reference to the root container in which this entry container |
| | | * exists. |
| | | * |
| | | * @return A reference to the root container in which this entry container |
| | | * exists. |
| | | */ |
| | | public RootContainer getRootContainer() |
| | | { |
| | | return rootContainer; |
| | | } |
| | | |
| | | /** |
| | | * Get the DN database used by this entry entryContainer. The entryContainer |
| | | * must have been opened. |
| | | * |
| | |
| | | |
| | | DataConfig entryDataConfig = |
| | | new DataConfig(cfg.isBackendEntriesCompressed(), |
| | | cfg.isBackendCompactEncoding()); |
| | | cfg.isBackendCompactEncoding(), |
| | | rootContainer.getCompressedSchema()); |
| | | id2entry.setDataConfig(entryDataConfig); |
| | | |
| | | this.config = cfg; |