public class OIndexRIDContainer extends Object implements Set<OIdentifiable>
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_FILE_EXTENSION |
Constructor and Description |
---|
OIndexRIDContainer(long fileId,
Set<OIdentifiable> underlying,
boolean durableNonTxMode) |
OIndexRIDContainer(String name,
boolean durableNonTxMode,
AtomicLong bonsayFileId)
Should be called inside of lock to ensure uniqueness of entity on disk !!!
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(OIdentifiable oIdentifiable) |
boolean |
addAll(Collection<? extends OIdentifiable> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
long |
getFileId() |
Set<OIdentifiable> |
getUnderlying() |
boolean |
isDurableNonTxMode() |
boolean |
isEmbedded() |
boolean |
isEmpty() |
Iterator<OIdentifiable> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
setTopThreshold(int topThreshold) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
public static final String INDEX_FILE_EXTENSION
public OIndexRIDContainer(String name, boolean durableNonTxMode, AtomicLong bonsayFileId)
public OIndexRIDContainer(long fileId, Set<OIdentifiable> underlying, boolean durableNonTxMode)
public void setTopThreshold(int topThreshold)
public long getFileId()
public int size()
size
in interface Collection<OIdentifiable>
size
in interface Set<OIdentifiable>
public boolean isEmpty()
isEmpty
in interface Collection<OIdentifiable>
isEmpty
in interface Set<OIdentifiable>
public boolean contains(Object o)
contains
in interface Collection<OIdentifiable>
contains
in interface Set<OIdentifiable>
public Iterator<OIdentifiable> iterator()
iterator
in interface Iterable<OIdentifiable>
iterator
in interface Collection<OIdentifiable>
iterator
in interface Set<OIdentifiable>
public Object[] toArray()
toArray
in interface Collection<OIdentifiable>
toArray
in interface Set<OIdentifiable>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<OIdentifiable>
toArray
in interface Set<OIdentifiable>
public boolean add(OIdentifiable oIdentifiable)
add
in interface Collection<OIdentifiable>
add
in interface Set<OIdentifiable>
public boolean remove(Object o)
remove
in interface Collection<OIdentifiable>
remove
in interface Set<OIdentifiable>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<OIdentifiable>
containsAll
in interface Set<OIdentifiable>
public boolean addAll(Collection<? extends OIdentifiable> c)
addAll
in interface Collection<OIdentifiable>
addAll
in interface Set<OIdentifiable>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<OIdentifiable>
retainAll
in interface Set<OIdentifiable>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<OIdentifiable>
removeAll
in interface Set<OIdentifiable>
public void clear()
clear
in interface Collection<OIdentifiable>
clear
in interface Set<OIdentifiable>
public boolean isEmbedded()
public boolean isDurableNonTxMode()
public Set<OIdentifiable> getUnderlying()
Copyright © 2009–2020 OrientDB. All rights reserved.