|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.sota.logic.FuzzyHierarchyFilterRowContainer
public class FuzzyHierarchyFilterRowContainer
| Constructor Summary | |
|---|---|
FuzzyHierarchyFilterRowContainer(DataArray rc,
int hierarchiyLevel)
Creates an instance of FuzzyHierarchyFilterRowContainer with given DataArray and hierarchy level. |
|
| Method Summary | |
|---|---|
DataTableSpec |
getDataTableSpec()
Get the table spec corresponding the the rows. |
int |
getFirstRowNumber()
|
int |
getHierarchyLevel()
|
int |
getMaxLevel()
|
DataCell |
getMaxValue(int colIdx)
|
DataCell |
getMinValue(int colIdx)
|
DataRow |
getRow(int idx)
Returns the row from the container with index idx. |
Set<DataCell> |
getValues(int colIdx)
Returns a set of all different values seen in the specified column. |
RowIterator |
iterator()
Returns a row iterator which returns each row one-by-one from the table. |
void |
setHierarchyLevel(int level)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FuzzyHierarchyFilterRowContainer(DataArray rc,
int hierarchiyLevel)
throws IllegalStateException
rc - DataArray to sethierarchiyLevel - hierarchy level to set
IllegalStateException - if hierarchy level of hierarchical fuzzy
data is less than 1| Method Detail |
|---|
public int getHierarchyLevel()
public void setHierarchyLevel(int level)
level - the hierarchyLevel to setpublic int getMaxLevel()
public DataRow getRow(int idx)
idx. Index
starts at zero and must be less than the size of the container (which
could be less than the number of rows requested at construction time as
the table could be shorter than that). The original row number in the
table can be reconstructed by adding the index to the result of the
DataArray.getFirstRowNumber() method.
getRow in interface DataArrayidx - the index of the row to return (must be between 0 and size of
the row container)
idxpublic Set<DataCell> getValues(int colIdx)
StringCell (or derived from that).
The list will be in the order the values appeared in the rows read in. It
contains only the values showing in these rows, the complete table may
contain more values. The list doesn't contain "missing value" cells.
getValues in interface DataArraycolIdx - the index of the column to return the possible values for
null
for non-string columns.public DataCell getMinValue(int colIdx)
getMinValue in interface DataArraycolIdx - the index of the column to return the min value for
null if the number of rows actually stored is
zero, or the column contains only missing cells.public DataCell getMaxValue(int colIdx)
getMaxValue in interface DataArraycolIdx - the index of the column to return the max value for
null if the number of rows actually stored is
zero, or the column contains only missing cells.public int size()
size in interface DataArraypublic int getFirstRowNumber()
getFirstRowNumber in interface DataArrayi
in the container can be reconstructed by
i + getFirstRowNumber().public RowIterator iterator()
iterator in interface Iterable<DataRow>iterator in interface DataArrayiterator in interface DataTableDataRow to obtain the real type of the object.DataRowpublic DataTableSpec getDataTableSpec()
getDataTableSpec in interface DataArraygetDataTableSpec in interface DataTable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||