public class QueueRowSet extends Object implements Comparable<RowSet>, RowSet
| Constructor and Description |
|---|
QueueRowSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear this rowset: remove all rows and remove the "done" flag.
|
int |
compareTo(RowSet rowSet)
Compares using the target steps and copy, not the source.
|
boolean |
equals(org.pentaho.di.core.BaseRowSet rowSet) |
int |
getDestinationStepCopy() |
String |
getDestinationStepName() |
String |
getName() |
int |
getOriginStepCopy() |
String |
getOriginStepName() |
String |
getRemoteSlaveServerName() |
Object[] |
getRow()
Get a row from the input buffer, it blocks for a short period until a new row becomes available.
|
Object[] |
getRowImmediate()
Get the first row in the list immediately.
|
RowMetaInterface |
getRowMeta() |
Object[] |
getRowWait(long timeout,
TimeUnit tu)
get the first row in the list immediately if it is available or wait until timeout
|
boolean |
isBlocking()
By default we don't report blocking, only for monitored transformations.
|
boolean |
isDone() |
boolean |
putRow(RowMetaInterface rowMeta,
Object[] rowData)
Offer a row of data to this rowset providing for the description (metadata) of the row.
|
boolean |
putRowWait(RowMetaInterface rowMeta,
Object[] rowData,
long time,
TimeUnit tu)
Offer a row of data to this rowset providing for the description (metadata) of the row.
|
void |
setDone() |
void |
setRemoteSlaveServerName(String remoteSlaveServerName) |
void |
setRowMeta(RowMetaInterface rowMeta) |
void |
setThreadNameFromToCopy(String from,
int from_copy,
String to,
int to_copy)
This method is used only in Trans.java when created RowSet at line 333.
|
int |
size() |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTogetDestinationStepCopy, getDestinationStepName, getName, getOriginStepCopy, getOriginStepName, getRemoteSlaveServerName, getRowMeta, isBlocking, isDone, setDone, setRemoteSlaveServerName, setRowMeta, setThreadNameFromToCopypublic Object[] getRow()
RowSetpublic Object[] getRowImmediate()
RowSetgetRowImmediate in interface RowSetpublic Object[] getRowWait(long timeout, TimeUnit tu)
RowSetgetRowWait in interface RowSetpublic boolean putRow(RowMetaInterface rowMeta, Object[] rowData)
RowSetpublic boolean putRowWait(RowMetaInterface rowMeta, Object[] rowData, long time, TimeUnit tu)
RowSetputRowWait in interface RowSetrowMeta - The description of the row datarowData - the row of datatime - The number of units of timetu - The unit of time to usepublic int size()
public void clear()
RowSetpublic int compareTo(RowSet rowSet)
compareTo in interface Comparable<RowSet>public boolean equals(org.pentaho.di.core.BaseRowSet rowSet)
public boolean isDone()
public String getOriginStepName()
getOriginStepName in interface RowSetpublic int getOriginStepCopy()
getOriginStepCopy in interface RowSetpublic String getDestinationStepName()
getDestinationStepName in interface RowSetpublic int getDestinationStepCopy()
getDestinationStepCopy in interface RowSetpublic void setThreadNameFromToCopy(String from, int from_copy, String to, int to_copy)
RowSetsetThreadNameFromToCopy in interface RowSetpublic RowMetaInterface getRowMeta()
getRowMeta in interface RowSetpublic void setRowMeta(RowMetaInterface rowMeta)
setRowMeta in interface RowSetrowMeta - the rowMeta to setpublic String getRemoteSlaveServerName()
getRemoteSlaveServerName in interface RowSetpublic void setRemoteSlaveServerName(String remoteSlaveServerName)
setRemoteSlaveServerName in interface RowSetremoteSlaveServerName - the remote slave server to setpublic boolean isBlocking()
isBlocking in interface RowSet