com.bigdata.btree.raba
Class EmptyRaba.EmptyKeysRaba

java.lang.Object
  extended by com.bigdata.btree.raba.EmptyRaba
      extended by com.bigdata.btree.raba.EmptyRaba.EmptyKeysRaba
All Implemented Interfaces:
IRaba, Externalizable, Serializable, Iterable<byte[]>
Enclosing class:
EmptyRaba

public static class EmptyRaba.EmptyKeysRaba
extends EmptyRaba

An empty, immutable B+Tree keys IRaba.

Version:
$Id: EmptyRaba.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bigdata.btree.raba.EmptyRaba
EmptyRaba.EmptyKeysRaba, EmptyRaba.EmptyValuesRaba
 
Field Summary
 
Fields inherited from class com.bigdata.btree.raba.EmptyRaba
KEYS, VALUES
 
Constructor Summary
EmptyRaba.EmptyKeysRaba()
          De-serialization ctor.
 
Method Summary
 boolean isKeys()
          When true the IRaba supports search and elements are interpreted as unsigned byte[]s (B+Tree keys).
 
Methods inherited from class com.bigdata.btree.raba.EmptyRaba
add, add, add, capacity, copy, get, isEmpty, isFull, isNull, isReadOnly, iterator, length, readExternal, search, set, size, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyRaba.EmptyKeysRaba

public EmptyRaba.EmptyKeysRaba()
De-serialization ctor.

Method Detail

isKeys

public final boolean isKeys()
Description copied from interface: IRaba
When true the IRaba supports search and elements are interpreted as unsigned byte[]s (B+Tree keys). For this case the application MUST ensure that the elements are maintained in unsigned byte[] order and that duplicates byte[]s are not stored.

When false, the IRaba allows nulls and the elements are interpreted as signed byte[] (B+Tree values).

Returns:
true if the IRaba represents B+Tree keys and false if it represents B+Tree values.


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