|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.container.ConcatenateTable
public final class ConcatenateTable
| Method Summary | |
|---|---|
void |
clear()
Internal use. |
static ConcatenateTable |
create(ExecutionMonitor mon,
BufferedDataTable... tables)
Creates a new table from argument tables. |
static DataTableSpec |
createSpec(DataTableSpec... specs)
Creates merged table spec. |
void |
ensureOpen()
Internal use. |
DataTableSpec |
getDataTableSpec()
Returns the DataTableSpec object of this table which gives
information about the structure of this data table. |
BufferedDataTable[] |
getReferenceTables()
Reference to the underlying tables, if any. |
int |
getRowCount()
Row count of the table. |
CloseableRowIterator |
iterator()
Overridden to narrow return type to closeable iterator. |
static ConcatenateTable |
load(NodeSettingsRO s,
DataTableSpec spec,
Map<Integer,BufferedDataTable> tblRep)
Restore table form node settings object. |
void |
putIntoTableRepository(HashMap<Integer,ContainerTable> rep)
Put this table into the global table repository. |
boolean |
removeFromTableRepository(HashMap<Integer,ContainerTable> rep)
Remove this table from global table repository. |
void |
saveToFile(File f,
NodeSettingsWO s,
ExecutionMonitor exec)
Save the table to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void clear()
clear in interface BufferedDataTable.KnowsRowCountTablepublic void ensureOpen()
BufferedDataTable.ensureOpen().
ensureOpen in interface BufferedDataTable.KnowsRowCountTablepublic BufferedDataTable[] getReferenceTables()
getReferenceTables in interface BufferedDataTable.KnowsRowCountTablenull.public int getRowCount()
getRowCount in interface BufferedDataTable.KnowsRowCountTablepublic DataTableSpec getDataTableSpec()
DataTableSpec object of this table which gives
information about the structure of this data table.
getDataTableSpec in interface DataTablepublic CloseableRowIterator iterator()
iterator in interface Iterable<DataRow>iterator in interface DataTableiterator in interface BufferedDataTable.KnowsRowCountTableDataRowpublic void putIntoTableRepository(HashMap<Integer,ContainerTable> rep)
putIntoTableRepository in interface BufferedDataTable.KnowsRowCountTablerep - The workflow table repository.public boolean removeFromTableRepository(HashMap<Integer,ContainerTable> rep)
removeFromTableRepository in interface BufferedDataTable.KnowsRowCountTablerep - The workflow table repository.
public void saveToFile(File f,
NodeSettingsWO s,
ExecutionMonitor exec)
throws IOException,
CanceledExecutionException
saveToFile in interface BufferedDataTable.KnowsRowCountTablef - To write to.s - To add meta information to.exec - For progress/cancel.
IOException - If writing fails.
CanceledExecutionException - If canceled.
public static ConcatenateTable load(NodeSettingsRO s,
DataTableSpec spec,
Map<Integer,BufferedDataTable> tblRep)
throws InvalidSettingsException
s - Containing information.spec - Associated spec.tblRep - For table lookup
InvalidSettingsException - If information is invalid.
public static ConcatenateTable create(ExecutionMonitor mon,
BufferedDataTable... tables)
throws CanceledExecutionException
mon - for progress info/cancellationtables - Tables to put together.
CanceledExecutionException - If cancelled.public static DataTableSpec createSpec(DataTableSpec... specs)
specs - the argument tables.
DataTableSpec.mergeDataTableSpecs(DataTableSpec...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||