}
}
else
{
// Full scan : use the MasterTable
Cursor<IndexEntry<String, String>> cursor = new IndexCursorAdaptor( db.getMasterTable().cursor(), true );
while ( cursor.next() )
{
IndexEntry<String, String> indexEntry = cursor.get();
// Here, the indexEntry contains a <UUID, Entry> tuple. Convert it to <UUID, UUID>
IndexEntry<String, String> forwardIndexEntry = new IndexEntry<String, String>();
forwardIndexEntry.setKey( indexEntry.getKey() );
forwardIndexEntry.setId( indexEntry.getKey() );