net.obsearch.storage
Class TupleLong

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

public final class TupleLong
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 long, 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
TupleLong(long key, byte[] value)
           
 
Method Summary
 long 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

TupleLong

public TupleLong(long key,
                 byte[] value)
Method Detail

getKey

public long getKey()
Returns:
The key.


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