|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.subgroupminer.freqitemset.FrequentItemSetTable
public class FrequentItemSetTable
A FrequentItemSetTable adds a sorting functionality to the normal DataTable. This can not be done by the SorterNode, since the rows of a FrequentItemSetTable are of variable length ( the rest is filled with empty cells) and the user is able to sort by itemset length.
Nested Class Summary | |
---|---|
static class |
FrequentItemSetTable.Sorter
the feature the table should be sorted by. |
Constructor Summary | |
---|---|
FrequentItemSetTable(FrequentItemSetRow[] rows,
DataTableSpec spec)
Creates a FrequentItemSetTable out of the passed row array and the given DataTableSpec. |
|
FrequentItemSetTable(List<FrequentItemSetRow> rowList,
DataTableSpec spec)
Creates a FrequentItemSetTable out of the passed row list and the given DataTableSpec. |
Method Summary | |
---|---|
DataTableSpec |
getDataTableSpec()
Returns the DataTableSpec object of this table which gives
information about the structure of this data table. |
RowIterator |
iterator()
Returns a row iterator which returns each row one-by-one from the table. |
void |
sortBy(FrequentItemSetTable.Sorter sorter)
Sorts the table by the given sorter (support or itemset length). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrequentItemSetTable(FrequentItemSetRow[] rows, DataTableSpec spec)
rows
- the rows of this tablespec
- the DataTableSpec of this Tablepublic FrequentItemSetTable(List<FrequentItemSetRow> rowList, DataTableSpec spec)
rowList
- the rows of this tablespec
- the DataTableSpec of this tableMethod Detail |
---|
public DataTableSpec getDataTableSpec()
DataTableSpec
object of this table which gives
information about the structure of this data table.
getDataTableSpec
in interface DataTable
public RowIterator iterator()
iterator
in interface Iterable<DataRow>
iterator
in interface DataTable
DataRow
public void sortBy(FrequentItemSetTable.Sorter sorter)
sorter
- defines by which feature the table should be sorted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |