public class OIndexRIDContainerSBTree extends Object implements Set<OIdentifiable>
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_FILE_EXTENSION |
Constructor and Description |
---|
OIndexRIDContainerSBTree(long fileId,
OBonsaiBucketPointer rootPointer,
OAbstractPaginatedStorage storage) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(OIdentifiable oIdentifiable) |
boolean |
addAll(Collection<? extends OIdentifiable> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
contains(OIdentifiable o) |
boolean |
containsAll(Collection<?> c) |
void |
delete() |
static String |
generateLockName(String indexName)
Generates a lock name for the given index name.
|
String |
getName() |
OBonsaiBucketPointer |
getRootPointer() |
boolean |
isEmpty() |
Iterator<OIdentifiable> |
iterator() |
boolean |
remove(Object o) |
boolean |
remove(OIdentifiable o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
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 OIndexRIDContainerSBTree(long fileId, OBonsaiBucketPointer rootPointer, OAbstractPaginatedStorage storage)
public static String generateLockName(String indexName)
indexName
- the index name to generate the lock name for.public OBonsaiBucketPointer getRootPointer()
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 boolean contains(OIdentifiable o)
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 remove(OIdentifiable o)
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 void delete()
public String getName()
Copyright © 2009–2020 OrientDB. All rights reserved.