public class IlvUniformScalePartitioner extends IlvColumnValuePartitioner<IlvIntervalClusterId>
For this partitioner, all IlvClusterId
s are of type
IlvIntervalClusterId
.
IlvIntervalClusterId
,
IlvUniformScalePartitionerFactory
Constructor and Description |
---|
IlvUniformScalePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int depth,
int subIntervalCount)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
IlvClassifier<IlvIntervalClusterId> |
createClassifier(Object parent,
IlvClassifier outerClassifier,
IlvClusterId outerParentClusterId)
Creates a classifier that can evaluate the children objects of the given
parent object one by one.
|
void |
dispose()
Cleans up this partitioner and drops references to models to
help garbage collection.
|
getColumn, getColumnIndex, getModel
addPartitionerListener, fireEvent, removePartitionerListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPartitionerListener, removePartitionerListener
public IlvUniformScalePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int depth, int subIntervalCount)
model
- The model being partitioned.column
- The column whose values are used for partitioning.depth
- The nesting depth of the clusters produced.subIntervalCount
- The number of groups into which to partition each
interval.public IlvClassifier<IlvIntervalClusterId> createClassifier(Object parent, IlvClassifier outerClassifier, IlvClusterId outerParentClusterId)
parent
- The parent object whose children objects are to be grouped,
or null
.outerClassifier
- The last returned value of this function for the
parent object or its nearest parent, or
null
if this is the first application
of this partitioner to the objects.outerParentClusterId
- The IlvClusterId
that was produced by
the outerClassifier
for the parent object or its
nearest parent. This is null
if
this is the first application of this
partitioner to the objects.public void dispose()
Note: After calling this function, this partitioner is no longer functional.
dispose
in interface IlvPartitioner<IlvIntervalClusterId>
dispose
in class IlvColumnValuePartitioner<IlvIntervalClusterId>
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.