public class CustomDateFilter extends AbstractFilter
Modifier and Type | Class and Description |
---|---|
static class |
CustomDateFilter.DateKey |
columnIndex, columnName, datasetInspected, icon, iconPath, isReverseSort
Constructor and Description |
---|
CustomDateFilter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Comparable |
classifyObject(java.lang.Object obj) |
Filter |
copyFilter()
Creates a copy of this filter.
|
java.lang.String |
getDateFormatString() |
int |
getDistributionEstimate()
Given an evenly distributed dataset, how many different classification keys should be expected from this Filter?
For instance, a Month filter would return 12, a Day-of-week filter would return 7, while a Year filter would
simply return some guess.
|
void |
invalidateCache()
Called when the dataset being passed to classify has changed.
|
void |
setDateFormatString(java.lang.String dateFormatString) |
java.lang.String |
toString() |
classify, copyProps, getColumnName, getIconPath, isReverseSort, setColumnName, setIconPath, setIsReverseSort
public java.lang.Comparable classifyObject(java.lang.Object obj)
classifyObject
in class AbstractFilter
public int getDistributionEstimate()
Filter
getDistributionEstimate
in interface Filter
getDistributionEstimate
in class AbstractFilter
public Filter copyFilter()
Filter
public java.lang.String toString()
toString
in class java.lang.Object
public void invalidateCache()
Filter
invalidateCache
in interface Filter
invalidateCache
in class AbstractFilter
public java.lang.String getDateFormatString()
public void setDateFormatString(java.lang.String dateFormatString)