com.bigdata.btree.keys
Class KV

java.lang.Object
  extended by com.bigdata.btree.keys.KVO<Void>
      extended by com.bigdata.btree.keys.KV
All Implemented Interfaces:
Comparable<KVO<Void>>

public class KV
extends KVO<Void>

A key-value pair. Comparison places the KV tuples into an order based on the interpretation of their KVO.keys as unsigned byte[]s. This may be used to perform a correlated sort of keys and values.

Version:
$Id: KV.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 
Fields inherited from class com.bigdata.btree.keys.KVO
key, obj, val
 
Constructor Summary
KV(byte[] key, byte[] val)
           
 
Method Summary
 
Methods inherited from class com.bigdata.btree.keys.KVO
compareTo, dense, done, getKeys, getVals, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KV

public KV(byte[] key,
          byte[] val)
Parameters:
key - The unsigned byte[] key (required).
val - The serialized representation of the value (optional).


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.