Class TimeRangeFacet
java.lang.Object
com.google.refine.browsing.facets.TimeRangeFacet
- All Implemented Interfaces:
Facet
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]protected intprotected intprotected intprotected intprotected int[]protected intprotected intprotected TimeRangeFacet.TimeRangeFacetConfigprotected intprotected Stringprotected Evaluableprotected doubleprotected doubleprotected intprotected doubleprotected intprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeChoices(Project project, FilteredRecords filteredRecords) voidcomputeChoices(Project project, FilteredRows filteredRows) int[]int[]getBins()getError()getFrom()getMax()getMin()getName()getRecordFilter(Project project) protected RowEvaluablegetRowEvaluable(Project project) getRowFilter(Project project) getStep()getTo()voidinitializeFromConfig(TimeRangeFacet.TimeRangeFacetConfig config, Project project) protected voidprotected void
-
Field Details
-
_config
-
_cellIndex
protected int _cellIndex -
_eval
-
_errorMessage
-
_min
protected double _min -
_max
protected double _max -
_step
protected double _step -
_baseBins
protected int[] _baseBins -
_bins
protected int[] _bins -
_baseTimeCount
protected int _baseTimeCount -
_baseNonTimeCount
protected int _baseNonTimeCount -
_baseBlankCount
protected int _baseBlankCount -
_baseErrorCount
protected int _baseErrorCount -
_timeCount
protected int _timeCount -
_nonTimeCount
protected int _nonTimeCount -
_blankCount
protected int _blankCount -
_errorCount
protected int _errorCount -
MIN
- See Also:
-
MAX
- See Also:
-
TO
- See Also:
-
FROM
- See Also:
-
-
Constructor Details
-
TimeRangeFacet
public TimeRangeFacet()
-
-
Method Details
-
getName
-
getExpression
-
getColumnName
-
getError
-
getMin
-
getMax
-
getStep
-
getBins
public int[] getBins() -
getBaseBins
public int[] getBaseBins() -
getFrom
-
getTo
-
initializeFromConfig
-
getRowFilter
- Specified by:
getRowFilterin interfaceFacet
-
computeChoices
- Specified by:
computeChoicesin interfaceFacet
-
computeChoices
- Specified by:
computeChoicesin interfaceFacet
-
retrieveDataFromBaseBinIndex
-
retrieveDataFromBinner
-
getRecordFilter
- Specified by:
getRecordFilterin interfaceFacet
-
getRowEvaluable
-