net.obsearch.storage
Class TupleByte

java.lang.Object
  extended by net.obsearch.storage.Tuple
      extended by net.obsearch.storage.TupleByte

public final class TupleByte
extends Tuple

A tuple returned by a range operation of an OBStore implementation. This object holds the key and the value of objects found within a range search. The key is a byte, and the value is always an array of bytes.

Author:
Arnoldo Jose Muller Molina

Field Summary
 
Fields inherited from class net.obsearch.storage.Tuple
value
 
Constructor Summary
TupleByte(byte key, byte[] value)
           
 
Method Summary
 byte getKey()
           
 
Methods inherited from class net.obsearch.storage.Tuple
getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleByte

public TupleByte(byte key,
                 byte[] value)
Method Detail

getKey

public byte getKey()
Returns:
The key.


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.