| | |
| | | super(name, indexer, state, 0, 0, false, env, entryContainer); |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean insertID(IndexBuffer buffer, ByteString keyBytes, |
| | | EntryID entryID) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean insertID(Transaction txn, DatabaseEntry key, EntryID entryID) |
| | | throws DatabaseException |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void insert(DatabaseEntry key, ImportIDSet importIdSet, |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void delete(DatabaseEntry key, ImportIDSet importIdSet, |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean insert(ImportIDSet importIDSet, |
| | |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | void updateKey(Transaction txn, DatabaseEntry key, EntryIDSet deletedIDs, |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean removeID(IndexBuffer buffer, ByteString keyBytes, |
| | | EntryID entryID) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void removeID(Transaction txn, DatabaseEntry key, EntryID entryID) |
| | | throws DatabaseException |
| | | { |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void delete(Transaction txn, Set<byte[]> keySet, EntryID entryID) |
| | | throws DatabaseException |
| | | { |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void delete(IndexBuffer buffer, ByteString keyBytes) |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public ConditionResult containsID(Transaction txn, DatabaseEntry key, |
| | |
| | | return ConditionResult.UNDEFINED; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public EntryIDSet readKey(DatabaseEntry key, Transaction txn, |
| | |
| | | return new EntryIDSet(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void writeKey(Transaction txn, DatabaseEntry key, |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public EntryIDSet readRange(byte[] lower, byte[] upper, |
| | |
| | | return new EntryIDSet(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public int getEntryLimitExceededCount() |
| | |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void closeCursor() throws DatabaseException |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean addEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options) |
| | |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean addEntry(Transaction txn, EntryID entryID, Entry entry, IndexingOptions options) |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void removeEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options) |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void removeEntry(Transaction txn, EntryID entryID, Entry entry, IndexingOptions options) |
| | | throws DatabaseException, DirectoryException |
| | | { |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void modifyEntry(Transaction txn, EntryID entryID, Entry oldEntry, |
| | | Entry newEntry, List<Modification> mods, IndexingOptions options) throws DatabaseException |
| | | { |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void modifyEntry(IndexBuffer buffer, EntryID entryID, Entry oldEntry, |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean setIndexEntryLimit(int indexEntryLimit) |
| | |
| | | return false; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public int getIndexEntryLimit() |
| | |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void setTrusted(Transaction txn, boolean trusted) |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean isTrusted() |
| | |
| | | return true; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean isRebuildRunning() |
| | |
| | | return false; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void setRebuildStatus(boolean rebuildRunning) |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean getMaintainCount() |
| | |
| | | return false; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void open() throws DatabaseException |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void close() throws DatabaseException |
| | |
| | | // Do nothing. |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | protected OperationStatus put(Transaction txn, DatabaseEntry key, |
| | |
| | | return OperationStatus.SUCCESS; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | protected OperationStatus read(Transaction txn, DatabaseEntry key, |
| | |
| | | return OperationStatus.SUCCESS; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | protected OperationStatus insert(Transaction txn, DatabaseEntry key, |
| | |
| | | return OperationStatus.SUCCESS; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | protected OperationStatus delete(Transaction txn, DatabaseEntry key) |
| | |
| | | return OperationStatus.SUCCESS; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public Cursor openCursor(Transaction txn, CursorConfig cursorConfig) |
| | |
| | | throw new IllegalStateException(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public long getRecordCount() throws DatabaseException |
| | |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public PreloadStats preload(PreloadConfig config) throws DatabaseException |