Class RowProducer


  • public class RowProducer
    extends Object
    Allows you to "Inject" rows into a transform.
    • Constructor Detail

    • Method Detail

      • putRow

        public boolean putRow​(IRowMeta rowMeta,
                              Object[] row,
                              boolean block)
        Puts a row on to the underlying row set, optionally blocking until the row can be successfully put.
        Returns:
        true if the row was successfully added to the rowset and false if this buffer was full. If block is true this will always return true.
        See Also:
        IRowSet.putRow(IRowMeta, Object[])
      • finished

        public void finished()
        Signal that we are done producing rows. It will allow the transform to which this producer is attached to know that no more rows are forthcoming.
      • getRowSet

        public IRowSet getRowSet()
        Returns:
        Returns the rowSet.
      • setRowSet

        public void setRowSet​(IRowSet rowSet)
        Parameters:
        rowSet - The rowSet to set.
      • getTransform

        public ITransform getTransform()
        Returns:
        Returns the ITransform.
      • setTransform

        public void setTransform​(ITransform transform)
        Parameters:
        transform - The ITransform to set.