public class RowProducer extends Object
Constructor and Description |
---|
RowProducer(StepInterface stepInterface,
RowSet rowSet) |
Modifier and Type | Method and Description |
---|---|
void |
finished()
Signal that we are done producing rows.
|
RowSet |
getRowSet() |
StepInterface |
getStepInterface() |
void |
putRow(RowMetaInterface rowMeta,
Object[] row)
Puts a row into the underlying row set.
|
boolean |
putRow(RowMetaInterface rowMeta,
Object[] row,
boolean block)
Puts a row on to the underlying row set, optionally blocking until the row can be successfully put.
|
boolean |
putRowWait(RowMetaInterface rowMeta,
Object[] rowData,
long time,
TimeUnit tu) |
void |
setRowSet(RowSet rowSet) |
void |
setStepInterface(StepInterface stepInterface) |
public RowProducer(StepInterface stepInterface, RowSet rowSet)
public void putRow(RowMetaInterface rowMeta, Object[] row)
putRow(RowMetaInterface, Object[], true)
public boolean putRow(RowMetaInterface rowMeta, Object[] row, boolean block)
block
is
true this will always return true.RowSet.putRow(RowMetaInterface, Object[])
public boolean putRowWait(RowMetaInterface rowMeta, Object[] rowData, long time, TimeUnit tu)
public void finished()
public RowSet getRowSet()
public void setRowSet(RowSet rowSet)
rowSet
- The rowSet to set.public StepInterface getStepInterface()
public void setStepInterface(StepInterface stepInterface)
stepInterface
- The stepInterface to set.Copyright © 2018 Hitachi Vantara. All rights reserved.