public class IlvPathPartitionerFactory extends Object implements IlvPartitionerFactory<IlvPathClusterId>, Serializable
IlvPathPartitioner,
Serialized Form| Constructor and Description |
|---|
IlvPathPartitionerFactory(IlvDataColumnInfo column)
Creates an instance of this class, with white spaces as separators and
some default values.
|
IlvPathPartitionerFactory(IlvDataColumnInfo column,
String separators)
Creates an instance of this class, with some default values.
|
IlvPathPartitionerFactory(IlvDataColumnInfo column,
String separators,
boolean ignoreLeadingSeparators,
boolean ignoreTrailingSeparators,
int maxDepth,
boolean uniqueKeys)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IlvPartitioner<IlvPathClusterId> |
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 IlvPathPartitionerFactory(IlvDataColumnInfo column, String separators, boolean ignoreLeadingSeparators, boolean ignoreTrailingSeparators, int maxDepth, boolean uniqueKeys)
column - The column whose values are used for partitioning.separators - The sequence of characters that are treated as separators.ignoreLeadingSeparators - true if leading separators shall be ignored.ignoreTrailingSeparators - true if trailing separators shall be ignored.maxDepth - A limit on the depth of the clusters produced. Use
Integer.MAX_VALUE for no limit.uniqueKeys - Set to true to force clusters even for unique paths.
Usually false.public IlvPathPartitionerFactory(IlvDataColumnInfo column, String separators)
column - The column whose values are used for partitioning.separators - The sequence of characters that are treated as separators.public IlvPathPartitionerFactory(IlvDataColumnInfo column)
column - The column whose values are used for partitioning.public IlvPartitioner<IlvPathClusterId> createPartitioner(IlvObjectModelWithColumns model)
IlvPartitionerFactorycreatePartitioner in interface IlvPartitionerFactory<IlvPathClusterId>model - The model whose elements are being grouped. This is the
input of the partitioner.public boolean equals(Object other)
equals in interface IlvPartitionerFactory<IlvPathClusterId>equals in class Objectpublic int hashCode()
equals().hashCode in interface IlvPartitionerFactory<IlvPathClusterId>hashCode in class Object© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.