com.bigdata.btree
Interface IOverflowHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
BlobOverflowHandler

public interface IOverflowHandler
extends Serializable

An interface that allows you to inspect index entries during an IndexSegmentBuilder operation.

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

Method Summary
 void close()
          Notified when overflow processing is done for a given source and target.
 byte[] handle(ITuple tuple, IRawStore target)
          Invoked for each index entry.
 

Method Detail

handle

byte[] handle(ITuple tuple,
              IRawStore target)
Invoked for each index entry.

Parameters:
tuple - The index entry.
target - The target store on which you can write additional data.
Returns:
The new value to be stored under the key in the generated IndexSegment.

close

void close()
Notified when overflow processing is done for a given source and target.



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