public class Collection2BitVectorCellFactory extends BitVectorColumnCellFactory
CollectionDataValue
.Constructor and Description |
---|
Collection2BitVectorCellFactory(BitVectorType vectorType,
DataColumnSpec columnSpec,
int columnIndex,
Map<String,Integer> idxMap) |
Modifier and Type | Method and Description |
---|---|
DataCell |
getCell(DataRow row)
Called from getCells.
|
int |
getNumberOfNotSetBits() |
int |
getNumberOfSetBits() |
getColumnIndex, getVectorType
convert2Array, failsOnError, getLastErrorMessage, getNoOfPrintedErrors, getNrOfProcessedRows, incrementNrOfRows, printError, printError, setFailOnError, wasSuccessful
getCells
afterProcessing, getColumnSpecs, getFileStoreFactory, getMaxParallelWorkers, getMaxQueueSize, isParallelProcessing, setParallelProcessing, setParallelProcessing, setProgress, setProgress
public Collection2BitVectorCellFactory(BitVectorType vectorType, DataColumnSpec columnSpec, int columnIndex, Map<String,Integer> idxMap)
vectorType
- BitVectorType
columnSpec
- the spec of the new columncolumnIndex
- index of the column to be replacedidxMap
- Map
that maps a DataCell
string representation to a unique index starting by 0public DataCell getCell(DataRow row)
getCell
in class SingleCellFactory
row
- The reference row.public int getNumberOfSetBits()
getNumberOfSetBits
in class BitVectorCellFactory
public int getNumberOfNotSetBits()
getNumberOfNotSetBits
in class BitVectorCellFactory
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.