public abstract class IlvColumnValuePartitioner<CIT extends IlvClusterId> extends IlvAbstractPartitioner<CIT> implements IlvPartitioner<CIT>
The type parameter CIT
denotes the type to which all
IlvClusterId
s created by the classifiers of this class belong.
Constructor and Description |
---|
IlvColumnValuePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Cleans up this partitioner and drops references to models to
help garbage collection.
|
IlvDataColumnInfo |
getColumn()
Returns the column whose values are used for partitioning.
|
int |
getColumnIndex()
Returns the current index of the column in the model.
|
IlvObjectModelWithColumns |
getModel()
Returns the model being partitioned.
|
addPartitionerListener, fireEvent, removePartitionerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPartitionerListener, createClassifier, removePartitionerListener
public IlvColumnValuePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column)
model
- The model being partitioned.column
- The column whose values are used for partitioning.public IlvObjectModelWithColumns getModel()
public IlvDataColumnInfo getColumn()
public int getColumnIndex()
public void dispose()
Note: After calling this function, this partitioner is no longer functional.
dispose
in interface IlvPartitioner<CIT extends IlvClusterId>
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.