net.obsearch.storage.bdb
Class AbstractBDBOBStoreJe.ByteArrayIterator
java.lang.Object
net.obsearch.storage.bdb.AbstractBDBOBStoreJe.CursorIterator<TupleBytes>
net.obsearch.storage.bdb.AbstractBDBOBStoreJe.ByteArrayIterator
- All Implemented Interfaces:
- Iterator<TupleBytes>, CloseIterator<TupleBytes>
- Enclosing class:
- AbstractBDBOBStoreJe<T extends Tuple>
protected class AbstractBDBOBStoreJe.ByteArrayIterator
- extends AbstractBDBOBStoreJe.CursorIterator<TupleBytes>
Iterator used to process range results.
Method Summary |
protected TupleBytes |
createTuple(byte[] key,
byte[] value)
Creates a tuple from the given key and value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBDBOBStoreJe.ByteArrayIterator
protected AbstractBDBOBStoreJe.ByteArrayIterator()
throws OBStorageException
- Throws:
OBStorageException
AbstractBDBOBStoreJe.ByteArrayIterator
protected AbstractBDBOBStoreJe.ByteArrayIterator(byte[] min,
byte[] max)
throws OBStorageException
- Throws:
OBStorageException
AbstractBDBOBStoreJe.ByteArrayIterator
protected AbstractBDBOBStoreJe.ByteArrayIterator(byte[] min,
byte[] max,
boolean full,
boolean backwardsMode,
boolean dups)
throws OBStorageException
- Throws:
OBStorageException
createTuple
protected TupleBytes createTuple(byte[] key,
byte[] value)
- Description copied from class:
AbstractBDBOBStoreJe.CursorIterator
- Creates a tuple from the given key and value.
- Specified by:
createTuple
in class AbstractBDBOBStoreJe.CursorIterator<TupleBytes>
- Parameters:
key
- raw key.value
- raw value.
- Returns:
- A new tuple of type T created from the raw data key and
value.
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.