public interface RowSet
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear this rowset: remove all rows and remove the "done" flag.
|
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() |
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 fromCopy,
String to,
int toCopy)
This method is used only in Trans.java when created RowSet at line 333.
|
int |
size() |
boolean putRow(RowMetaInterface rowMeta, Object[] rowData)
rowMeta
- The description of the row datarowData
- the row of databoolean putRowWait(RowMetaInterface rowMeta, Object[] rowData, long time, TimeUnit tu)
rowMeta
- The description of the row datarowData
- the row of datatime
- The number of units of timetu
- The unit of time to useObject[] getRow()
Object[] getRowImmediate()
Object[] getRowWait(long timeout, TimeUnit tu)
void setDone()
boolean isDone()
String getOriginStepName()
int getOriginStepCopy()
String getDestinationStepName()
int getDestinationStepCopy()
String getName()
int size()
void setThreadNameFromToCopy(String from, int fromCopy, String to, int toCopy)
RowMetaInterface getRowMeta()
void setRowMeta(RowMetaInterface rowMeta)
rowMeta
- the rowMeta to setString getRemoteSlaveServerName()
void setRemoteSlaveServerName(String remoteSlaveServerName)
remoteSlaveServerName
- the remote slave server to setboolean isBlocking()
void clear()
Copyright © 2020 Hitachi Vantara. All rights reserved.