public abstract class RowAndIndexGenerator extends SpliceFlatMapFunction<SpliceBaseOperation,ExecRow,scala.Tuple2<java.lang.Long,scala.Tuple2<byte[],byte[]>>>
Modifier and Type | Field and Description |
---|---|
protected long |
heapConglom |
protected IndexTransformFunction[] |
indexTransformFunctions |
protected boolean |
initialized |
protected java.util.ArrayList<com.splicemachine.ddl.DDLMessage.TentativeIndex> |
tentativeIndices |
protected TxnView |
txn |
operationContext
Constructor and Description |
---|
RowAndIndexGenerator() |
RowAndIndexGenerator(OperationContext operationContext,
TxnView txn,
long heapConglom,
java.util.ArrayList<com.splicemachine.ddl.DDLMessage.TentativeIndex> tentativeIndices) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Iterator<scala.Tuple2<java.lang.Long,scala.Tuple2<byte[],byte[]>>> |
call(ExecRow locatedRow) |
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
apply
getActivation, getOperation, getPrettyFunctionName, getSparkName, prepare, reset
protected TxnView txn
protected long heapConglom
protected java.util.ArrayList<com.splicemachine.ddl.DDLMessage.TentativeIndex> tentativeIndices
protected IndexTransformFunction[] indexTransformFunctions
protected boolean initialized
public RowAndIndexGenerator()
public RowAndIndexGenerator(OperationContext operationContext, TxnView txn, long heapConglom, java.util.ArrayList<com.splicemachine.ddl.DDLMessage.TentativeIndex> tentativeIndices)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class AbstractSpliceFunction<SpliceBaseOperation>
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class AbstractSpliceFunction<SpliceBaseOperation>
java.io.IOException
java.lang.ClassNotFoundException
public abstract java.util.Iterator<scala.Tuple2<java.lang.Long,scala.Tuple2<byte[],byte[]>>> call(ExecRow locatedRow) throws java.lang.Exception
java.lang.Exception