public class IlvCustomScalePartitionerFactory extends Object implements IlvPartitionerFactory<IlvIntervalClusterId>, Serializable
IlvCustomScalePartitioner
,
Serialized FormConstructor and Description |
---|
IlvCustomScalePartitionerFactory(IlvDataColumnInfo column,
List<? extends Number> thresholds)
Creates a partitioner factory that partitions according to the values at
the given column.
|
Modifier and Type | Method and Description |
---|---|
IlvPartitioner<IlvIntervalClusterId> |
createPartitioner(IlvObjectModelWithColumns model)
Returns a partitioner for the given model.
|
boolean |
equals(Object other)
Compares this object to another object.
|
int |
hashCode()
Returns a hash code that is compatible with
equals() . |
public IlvCustomScalePartitionerFactory(IlvDataColumnInfo column, List<? extends Number> thresholds)
column
- The column whose values shall be used for partitioning.thresholds
- A list of numbers that are used as a scale, to separate
objects.public IlvPartitioner<IlvIntervalClusterId> createPartitioner(IlvObjectModelWithColumns model)
IlvPartitionerFactory
createPartitioner
in interface IlvPartitionerFactory<IlvIntervalClusterId>
model
- The model whose elements are being grouped. This is the
input of the partitioner.public boolean equals(Object other)
equals
in interface IlvPartitionerFactory<IlvIntervalClusterId>
equals
in class Object
public int hashCode()
equals()
.hashCode
in interface IlvPartitionerFactory<IlvIntervalClusterId>
hashCode
in class Object
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.