BinnerColumnFactory
instead@Deprecated final class BinnerColumnFactory extends Object implements CellFactory
Modifier and Type | Class and Description |
---|---|
static interface |
BinnerColumnFactory.Bin
Deprecated.
General bin.
|
Constructor and Description |
---|
BinnerColumnFactory(int columnIdx,
BinnerColumnFactory.Bin[] bins,
String name,
boolean append)
Deprecated.
A binned column created by name and a number of bins.
|
Modifier and Type | Method and Description |
---|---|
(package private) DataCell |
apply(DataCell cell)
Deprecated.
Apply a value to this bining trying to cover it at all available
Bin s. |
(package private) BinnerColumnFactory.Bin |
getBin(int index)
Deprecated.
Return
Bin for index. |
DataCell[] |
getCells(DataRow row)
Deprecated.
Get the new cells for a given row.
|
(package private) int |
getColumnIndex()
Deprecated.
|
(package private) DataColumnSpec |
getColumnSpec()
Deprecated.
|
DataColumnSpec[] |
getColumnSpecs()
Deprecated.
The column specs for the cells that are generated in the getCells() method.
|
(package private) int |
getNrBins()
Deprecated.
|
(package private) boolean |
isAppendedColumn()
Deprecated.
|
void |
setProgress(int curRowNr,
int rowCount,
RowKey lastKey,
ExecutionMonitor exec)
Deprecated.
This method is called when a row has been processed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setProgress
BinnerColumnFactory(int columnIdx, BinnerColumnFactory.Bin[] bins, String name, boolean append)
columnIdx
- the column index to binname
- the new binned column namebins
- a set of binsappend
- append or replace columnint getColumnIndex()
boolean isAppendedColumn()
DataColumnSpec getColumnSpec()
int getNrBins()
BinnerColumnFactory.Bin getBin(int index)
Bin
for index.index
- for this indexDataCell apply(DataCell cell)
Bin
s.cell
- the value to coverpublic DataCell[] getCells(DataRow row)
getCells
in interface CellFactory
row
- The row of interest.public DataColumnSpec[] getColumnSpecs()
getColumnSpecs
in interface CellFactory
public void setProgress(int curRowNr, int rowCount, RowKey lastKey, ExecutionMonitor exec)
Note, you don't need to check exec.checkCanceled()
in the implementation as this is done in the
calling class.
setProgress
in interface CellFactory
curRowNr
- The number of the row just processedrowCount
- The total number of rows.lastKey
- The row's key.exec
- The execution monitor to report progress to.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.