com.bigdata.bfs
Class BlobOverflowHandler

java.lang.Object
  extended by com.bigdata.bfs.BlobOverflowHandler
All Implemented Interfaces:
IOverflowHandler, Serializable

public class BlobOverflowHandler
extends Object
implements IOverflowHandler

Copies blocks onto the target store during overflow handling. Blocks that are no longer referenced by the file data index will be left behind on the journal and eventually discarded with the journal.

Version:
$Id: BlobOverflowHandler.java 3366 2010-07-30 00:37:51Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
BlobOverflowHandler()
          De-serialization constructor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobOverflowHandler

public BlobOverflowHandler()
De-serialization constructor.

Method Detail

close

public void close()
Description copied from interface: IOverflowHandler
Notified when overflow processing is done for a given source and target.

Specified by:
close in interface IOverflowHandler

handle

public byte[] handle(ITuple tuple,
                     IRawStore target)
Description copied from interface: IOverflowHandler
Invoked for each index entry.

Specified by:
handle in interface IOverflowHandler
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.


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