From 17e216ed32e21eddece22d782f8a256711ab3ad8 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 04 Dec 2014 15:08:07 +0000
Subject: [PATCH] OPENDJ-1602 (CR-5566) New pluggable storage based backend
---
opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java | 140 ----------------------------------------------
1 files changed, 0 insertions(+), 140 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java b/opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java
index e61c146..2691ec2 100644
--- a/opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java
+++ b/opendj3-server-dev/src/server/org/opends/server/backends/jeb/NullIndex.java
@@ -67,28 +67,6 @@
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,
@@ -97,8 +75,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public void delete(DatabaseEntry key, ImportIDSet importIdSet,
@@ -107,8 +83,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public boolean insert(ImportIDSet importIDSet,
@@ -118,8 +92,6 @@
return true;
}
-
-
/** {@inheritDoc} */
@Override
void updateKey(Transaction txn, DatabaseEntry key, EntryIDSet deletedIDs,
@@ -128,38 +100,6 @@
// 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)
@@ -167,8 +107,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public ConditionResult containsID(Transaction txn, DatabaseEntry key,
@@ -177,8 +115,6 @@
return ConditionResult.UNDEFINED;
}
-
-
/** {@inheritDoc} */
@Override
public EntryIDSet readKey(DatabaseEntry key, Transaction txn,
@@ -187,8 +123,6 @@
return new EntryIDSet();
}
-
-
/** {@inheritDoc} */
@Override
public void writeKey(Transaction txn, DatabaseEntry key,
@@ -197,8 +131,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public EntryIDSet readRange(byte[] lower, byte[] upper,
@@ -207,8 +139,6 @@
return new EntryIDSet();
}
-
-
/** {@inheritDoc} */
@Override
public int getEntryLimitExceededCount()
@@ -216,8 +146,6 @@
return 0;
}
-
-
/** {@inheritDoc} */
@Override
public void closeCursor() throws DatabaseException
@@ -225,8 +153,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public boolean addEntry(IndexBuffer buffer, EntryID entryID, Entry entry, IndexingOptions options)
@@ -235,18 +161,6 @@
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)
@@ -255,28 +169,6 @@
// 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,
@@ -285,8 +177,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public boolean setIndexEntryLimit(int indexEntryLimit)
@@ -294,8 +184,6 @@
return false;
}
-
-
/** {@inheritDoc} */
@Override
public int getIndexEntryLimit()
@@ -303,8 +191,6 @@
return 0;
}
-
-
/** {@inheritDoc} */
@Override
public void setTrusted(Transaction txn, boolean trusted)
@@ -313,8 +199,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public boolean isTrusted()
@@ -322,8 +206,6 @@
return true;
}
-
-
/** {@inheritDoc} */
@Override
public boolean isRebuildRunning()
@@ -331,8 +213,6 @@
return false;
}
-
-
/** {@inheritDoc} */
@Override
public void setRebuildStatus(boolean rebuildRunning)
@@ -340,8 +220,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public boolean getMaintainCount()
@@ -349,8 +227,6 @@
return false;
}
-
-
/** {@inheritDoc} */
@Override
public void open() throws DatabaseException
@@ -358,8 +234,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
public void close() throws DatabaseException
@@ -367,8 +241,6 @@
// Do nothing.
}
-
-
/** {@inheritDoc} */
@Override
protected OperationStatus put(Transaction txn, DatabaseEntry key,
@@ -377,8 +249,6 @@
return OperationStatus.SUCCESS;
}
-
-
/** {@inheritDoc} */
@Override
protected OperationStatus read(Transaction txn, DatabaseEntry key,
@@ -387,8 +257,6 @@
return OperationStatus.SUCCESS;
}
-
-
/** {@inheritDoc} */
@Override
protected OperationStatus insert(Transaction txn, DatabaseEntry key,
@@ -397,8 +265,6 @@
return OperationStatus.SUCCESS;
}
-
-
/** {@inheritDoc} */
@Override
protected OperationStatus delete(Transaction txn, DatabaseEntry key)
@@ -407,8 +273,6 @@
return OperationStatus.SUCCESS;
}
-
-
/** {@inheritDoc} */
@Override
public Cursor openCursor(Transaction txn, CursorConfig cursorConfig)
@@ -417,8 +281,6 @@
throw new IllegalStateException();
}
-
-
/** {@inheritDoc} */
@Override
public long getRecordCount() throws DatabaseException
@@ -426,8 +288,6 @@
return 0;
}
-
-
/** {@inheritDoc} */
@Override
public PreloadStats preload(PreloadConfig config) throws DatabaseException
--
Gitblit v1.10.0