public class IlvDatePartitioner extends IlvColumnValuePartitioner<IlvDateClusterId>
For this partitioner, all IlvClusterIds are of type
IlvDateClusterId.
IlvDateClusterId,
IlvDatePartitionerFactory| Constructor and Description |
|---|
IlvDatePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int[] calendarFields)
Creates an instance of this class.
|
IlvDatePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int[] calendarFields,
Locale locale)
Deprecated.
This method ignores the calendar specification in the
ULocale. Please use
IlvDatePartitioner(IlvObjectModelWithColumns, IlvDataColumnInfo, int[], ULocale)
instead. |
IlvDatePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int[] calendarFields,
Locale locale,
Calendar calendar)
Creates an instance of this class.
|
IlvDatePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int[] calendarFields,
com.ibm.icu.util.ULocale locale)
Creates an instance of this class.
|
IlvDatePartitioner(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
int[] calendarFields,
com.ibm.icu.util.ULocale locale,
Calendar calendar)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IlvClassifier<IlvDateClusterId> |
createClassifier(Object parent,
IlvClassifier outerClassifier,
IlvClusterId outerParentClusterId)
Creates a classifier that can evaluate the children objects of the given
parent object one by one.
|
dispose, getColumn, getColumnIndex, getModeladdPartitionerListener, fireEvent, removePartitionerListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPartitionerListener, removePartitionerListenerpublic IlvDatePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int[] calendarFields)
model - The model being partitioned.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 IlvDatePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int[] calendarFields, Locale locale)
ULocale. Please use
IlvDatePartitioner(IlvObjectModelWithColumns, IlvDataColumnInfo, int[], ULocale)
instead.model - The model being partitioned.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 IlvDatePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int[] calendarFields, com.ibm.icu.util.ULocale locale)
model - The model being partitioned.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 IlvDatePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int[] calendarFields, Locale locale, Calendar calendar)
model - The model being partitioned.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 IlvDatePartitioner(IlvObjectModelWithColumns model, IlvDataColumnInfo column, int[] calendarFields, com.ibm.icu.util.ULocale locale, Calendar calendar)
model - The model being partitioned.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 IlvClassifier<IlvDateClusterId> 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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.