com.bigdata.btree.proc
Class BatchInsert.BatchInsertConstructor

java.lang.Object
  extended by com.bigdata.btree.proc.AbstractKeyArrayIndexProcedureConstructor<BatchInsert>
      extended by com.bigdata.btree.proc.BatchInsert.BatchInsertConstructor
Enclosing class:
BatchInsert

public static class BatchInsert.BatchInsertConstructor
extends AbstractKeyArrayIndexProcedureConstructor<BatchInsert>

Factory for BatchInsert procedures.

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

Field Summary
static BatchInsert.BatchInsertConstructor RETURN_NO_VALUES
          Singleton does NOT request the return of the old values that were overwritten in the index by the operation.
static BatchInsert.BatchInsertConstructor RETURN_OLD_VALUES
          Singleton requests the return of the old values that were overwritten in the index by the operation.
 
Method Summary
 BatchInsert newInstance(IRabaCoder keysCoder, IRabaCoder valsCoder, int fromIndex, int toIndex, byte[][] keys, byte[][] vals)
          Uses the specified IRabaCoders.
 boolean sendValues()
          Values are required.
 
Methods inherited from class com.bigdata.btree.proc.AbstractKeyArrayIndexProcedureConstructor
newInstance, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RETURN_OLD_VALUES

public static final BatchInsert.BatchInsertConstructor RETURN_OLD_VALUES
Singleton requests the return of the old values that were overwritten in the index by the operation.


RETURN_NO_VALUES

public static final BatchInsert.BatchInsertConstructor RETURN_NO_VALUES
Singleton does NOT request the return of the old values that were overwritten in the index by the operation.

Method Detail

sendValues

public final boolean sendValues()
Values are required.

Specified by:
sendValues in class AbstractKeyArrayIndexProcedureConstructor<BatchInsert>

newInstance

public BatchInsert newInstance(IRabaCoder keysCoder,
                               IRabaCoder valsCoder,
                               int fromIndex,
                               int toIndex,
                               byte[][] keys,
                               byte[][] vals)
Description copied from class: AbstractKeyArrayIndexProcedureConstructor
Uses the specified IRabaCoders.

Specified by:
newInstance in class AbstractKeyArrayIndexProcedureConstructor<BatchInsert>
Returns:


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