Skip to content

Commit cb8013a

Browse files
Issue orientechnologies#856 was fixed for plocal storage.
1 parent 9985083 commit cb8013a

23 files changed

+480
-418
lines changed

core/src/main/java/com/orientechnologies/orient/core/index/OIndex.java

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,11 @@ OIndex<T> create(String name, OIndexDefinition indexDefinition, String clusterIn
104104
/**
105105
* Removes an entry by its key.
106106
*
107-
* @param iKey
107+
* @param key
108108
* The entry's key to remove
109109
* @return True if the entry has been found and removed, otherwise false
110110
*/
111-
boolean remove(Object iKey);
112-
113-
/**
114-
* Removes a value in all the index entries.
115-
*
116-
* @param iRID
117-
* Record id to search
118-
* @return Times the record was found, 0 if not found at all
119-
*/
120-
int remove(OIdentifiable iRID);
111+
boolean remove(Object key);
121112

122113
/**
123114
* Removes an entry by its key and value.
@@ -241,14 +232,6 @@ OIndex<T> create(String name, OIndexDefinition indexDefinition, String clusterIn
241232
*/
242233
Set<String> getClusters();
243234

244-
/**
245-
* Commits changes as atomic. It's called during the transaction's commit.
246-
*
247-
* @param iDocument
248-
* Collection of entries to commit
249-
*/
250-
void commit(ODocument iDocument);
251-
252235
/**
253236
* Returns an iterator to walk across all the index items from the first to the latest one.
254237
*

0 commit comments

Comments
 (0)