public class IlvDatePartitionerFactory extends Object implements IlvPartitionerFactory<IlvDateClusterId>, Serializable
IlvDatePartitioner,
Serialized Form| Constructor and Description |
|---|
IlvDatePartitionerFactory(IlvDataColumnInfo column)
Creates an instance of this class, which clusters for year, month, day.
|
IlvDatePartitionerFactory(IlvDataColumnInfo column,
int[] calendarFields)
Creates an instance of this class.
|
IlvDatePartitionerFactory(IlvDataColumnInfo column,
int[] calendarFields,
Locale locale)
Deprecated.
This method ignores the calendar specification in the
ULocale. Please use
IlvDatePartitionerFactory(IlvDataColumnInfo, int[], ULocale)
instead. |
IlvDatePartitionerFactory(IlvDataColumnInfo column,
int[] calendarFields,
Locale locale,
Calendar calendar)
Creates an instance of this class.
|
IlvDatePartitionerFactory(IlvDataColumnInfo column,
int[] calendarFields,
com.ibm.icu.util.ULocale locale)
Creates an instance of this class.
|
IlvDatePartitionerFactory(IlvDataColumnInfo column,
int[] calendarFields,
com.ibm.icu.util.ULocale locale,
Calendar calendar)
Creates an instance of this class.
|
IlvDatePartitionerFactory(IlvDataColumnInfo column,
String format)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IlvPartitioner<IlvDateClusterId> |
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 IlvDatePartitionerFactory(IlvDataColumnInfo column, int[] calendarFields)
column - The column whose values are used for partitioning.calendarFields - The fields whose values shall be used. Each field is
one of Calendar.ERA, Calendar.YEAR,
Calendar.MONTH, Calendar.DAY_OF_MONTH,
Calendar.HOUR_OF_DAY, Calendar.MINUTE,
Calendar.SECOND, Calendar.MILLISECOND,
Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR,
Calendar.DAY_OF_MONTH, Calendar.WEEK_OF_YEAR,
Calendar.WEEK_OF_MONTH, Calendar.HOUR.@Deprecated public IlvDatePartitionerFactory(IlvDataColumnInfo column, int[] calendarFields, Locale locale)
ULocale. Please use
IlvDatePartitionerFactory(IlvDataColumnInfo, int[], ULocale)
instead.column - The column whose values are used for partitioning.calendarFields - The fields whose values shall be used. Each field is
one of Calendar.ERA, Calendar.YEAR,
Calendar.MONTH, Calendar.DAY_OF_MONTH,
Calendar.HOUR_OF_DAY, Calendar.MINUTE,
Calendar.SECOND, Calendar.MILLISECOND,
Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR,
Calendar.DAY_OF_MONTH, Calendar.WEEK_OF_YEAR,
Calendar.WEEK_OF_MONTH, Calendar.HOUR.locale - The locale used to select the calendar and to convert the
cluster IDs to textual form.public IlvDatePartitionerFactory(IlvDataColumnInfo column, int[] calendarFields, com.ibm.icu.util.ULocale locale)
column - The column whose values are used for partitioning.calendarFields - The fields whose values shall be used. Each field is
one of Calendar.ERA, Calendar.YEAR,
Calendar.MONTH, Calendar.DAY_OF_MONTH,
Calendar.HOUR_OF_DAY, Calendar.MINUTE,
Calendar.SECOND, Calendar.MILLISECOND,
Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR,
Calendar.DAY_OF_MONTH, Calendar.WEEK_OF_YEAR,
Calendar.WEEK_OF_MONTH, Calendar.HOUR.locale - The locale used to select the calendar and to convert the
cluster IDs to textual form.public IlvDatePartitionerFactory(IlvDataColumnInfo column, int[] calendarFields, Locale locale, Calendar calendar)
column - The column whose values are used for partitioning.calendarFields - The fields whose values shall be used. Each field is
one of Calendar.ERA, Calendar.YEAR,
Calendar.MONTH, Calendar.DAY_OF_MONTH,
Calendar.HOUR_OF_DAY, Calendar.MINUTE,
Calendar.SECOND, Calendar.MILLISECOND,
Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR,
Calendar.DAY_OF_MONTH, Calendar.WEEK_OF_YEAR,
Calendar.WEEK_OF_MONTH, Calendar.HOUR.locale - The locale used to convert the cluster IDs to textual form.calendar - The calendar used to split the dates into date fields.public IlvDatePartitionerFactory(IlvDataColumnInfo column, int[] calendarFields, com.ibm.icu.util.ULocale locale, Calendar calendar)
column - The column whose values are used for partitioning.calendarFields - The fields whose values shall be used. Each field is
one of Calendar.ERA, Calendar.YEAR,
Calendar.MONTH, Calendar.DAY_OF_MONTH,
Calendar.HOUR_OF_DAY, Calendar.MINUTE,
Calendar.SECOND, Calendar.MILLISECOND,
Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR,
Calendar.DAY_OF_MONTH, Calendar.WEEK_OF_YEAR,
Calendar.WEEK_OF_MONTH, Calendar.HOUR.locale - The locale used to convert the cluster IDs to textual form.calendar - The calendar used to split the dates into date fields.public IlvDatePartitionerFactory(IlvDataColumnInfo column, String format)
column - The column whose values are used for partitioning.format - The fields whose values shall be used. The meaning of each
letter is described in the SimpleDateFormat
documentation.public IlvDatePartitionerFactory(IlvDataColumnInfo column)
column - The column whose values are used for partitioning.public IlvPartitioner<IlvDateClusterId> createPartitioner(IlvObjectModelWithColumns model)
IlvPartitionerFactorycreatePartitioner in interface IlvPartitionerFactory<IlvDateClusterId>model - The model whose elements are being grouped. This is the
input of the partitioner.public boolean equals(Object other)
equals in interface IlvPartitionerFactory<IlvDateClusterId>equals in class Objectpublic int hashCode()
equals().hashCode in interface IlvPartitionerFactory<IlvDateClusterId>hashCode in class Object© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.