Class OHashIndexBucket<K,V>
java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
com.orientechnologies.orient.core.storage.index.hashindex.local.v3.OHashIndexBucket<K,V>
- All Implemented Interfaces:
Iterable<OHashTable.Entry<K,V>>
public final class OHashIndexBucket<K,V>
extends ODurablePage
implements Iterable<OHashTable.Entry<K,V>>
- Since:
- 2/17/13
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET -
Method Summary
Methods inherited from class com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
deserializeFromDirectMemory, getBinaryValue, getByteValue, getCacheEntry, getChanges, getIntArray, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLSN, getObjectSizeInDirectMemory, getPageData, getPageIndex, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntArray, setIntValue, setLongValue, setLsn, setShortValue, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
init
- Throws:
IOException
-
find
-
getEntry
-
getValue
Obtains the value stored under the given index in this bucket.- Parameters:
index- the value index.- Returns:
- the obtained value.
-
getKey
-
getIndex
-
size
public int size() -
iterator
-
iterator
-
getContentSize
public int getContentSize() -
addEntry
-
getDepth
public int getDepth() -
setDepth
public void setDepth(int depth)
-