| | |
| | | private State state; |
| | | |
| | | /** The set of attribute indexes. */ |
| | | private final HashMap<AttributeType, AttributeIndex> attrIndexMap = new HashMap<AttributeType, AttributeIndex>(); |
| | | |
| | | private final HashMap<AttributeType, AttributeIndex> attrIndexMap = new HashMap<>(); |
| | | /** The set of VLV (Virtual List View) indexes. */ |
| | | private final HashMap<String, VLVIndex> vlvIndexMap = new HashMap<String, VLVIndex>(); |
| | | private final HashMap<String, VLVIndex> vlvIndexMap = new HashMap<>(); |
| | | |
| | | /** |
| | | * Prevents name clashes for common indexes (like id2entry) across multiple suffixes. |
| | |
| | | */ |
| | | void delete() throws DatabaseException |
| | | { |
| | | List<DatabaseContainer> databases = new ArrayList<DatabaseContainer>(); |
| | | List<DatabaseContainer> databases = new ArrayList<>(); |
| | | listDatabases(databases); |
| | | |
| | | if(env.getConfig().getTransactional()) |
| | |
| | | throws DatabaseException, JebException |
| | | |
| | | { |
| | | List<DatabaseContainer> databases = new ArrayList<DatabaseContainer>(); |
| | | List<DatabaseContainer> databases = new ArrayList<>(); |
| | | listDatabases(databases); |
| | | |
| | | newDatabasePrefix = preparePrefix(newDatabasePrefix); |
| | |
| | | */ |
| | | public void clear() throws DatabaseException |
| | | { |
| | | List<DatabaseContainer> databases = new ArrayList<DatabaseContainer>(); |
| | | List<DatabaseContainer> databases = new ArrayList<>(); |
| | | listDatabases(databases); |
| | | |
| | | for(DatabaseContainer db : databases) |