com.bigdata.mdi
Interface ISeparatorKeys

All Known Subinterfaces:
IPartitionMetadata
All Known Implementing Classes:
LocalPartitionMetadata, PartitionLocator

public interface ISeparatorKeys

Interface provides access to the left and right separator keys for an index partition.

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

Method Summary
 byte[] getLeftSeparatorKey()
          The separator key that defines the left edge of that index partition (always defined) - this is the first key that can enter the index partition.
 byte[] getRightSeparatorKey()
          The separator key that defines the right edge of that index partition or null iff the index partition does not have a right sibling (a null has the semantics of having no upper bound).
 

Method Detail

getLeftSeparatorKey

byte[] getLeftSeparatorKey()
The separator key that defines the left edge of that index partition (always defined) - this is the first key that can enter the index partition. The left-most separator key for a scale-out index is always an empty byte[] since that is the smallest key that may be defined.


getRightSeparatorKey

byte[] getRightSeparatorKey()
The separator key that defines the right edge of that index partition or null iff the index partition does not have a right sibling (a null has the semantics of having no upper bound).



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