Class RangeFacet
java.lang.Object
com.google.refine.browsing.facets.RangeFacet
- All Implemented Interfaces:
Facet
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]protected intprotected intprotected intprotected intprotected int[]protected intprotected intprotected intprotected Stringprotected Evaluableprotected doubleprotected doubleprotected intprotected intprotected doublestatic final Stringprotected 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(RangeFacet.RangeFacetConfig config, Project project) booleanprotected voidprotected void
-
Field Details
-
ERR_NO_NUMERIC_VALUE_PRESENT
- See Also:
-
_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 -
_baseNumericCount
protected int _baseNumericCount -
_baseNonNumericCount
protected int _baseNonNumericCount -
_baseBlankCount
protected int _baseBlankCount -
_baseErrorCount
protected int _baseErrorCount -
_numericCount
protected int _numericCount -
_nonNumericCount
protected int _nonNumericCount -
_blankCount
protected int _blankCount -
_errorCount
protected int _errorCount -
MIN
- See Also:
-
MAX
- See Also:
-
TO
- See Also:
-
FROM
- See Also:
-
-
Constructor Details
-
RangeFacet
public RangeFacet()
-
-
Method Details
-
getName
-
getExpression
-
getColumnName
-
getError
-
isFiniteRange
public boolean isFiniteRange() -
getMin
-
getMax
-
getStep
-
getBins
public int[] getBins() -
getBaseBins
public int[] getBaseBins() -
getFrom
-
getTo
-
initializeFromConfig
-
getRowFilter
- Specified by:
getRowFilterin interfaceFacet
-
getRecordFilter
- Specified by:
getRecordFilterin interfaceFacet
-
computeChoices
- Specified by:
computeChoicesin interfaceFacet
-
computeChoices
- Specified by:
computeChoicesin interfaceFacet
-
getRowEvaluable
-
retrieveDataFromBaseBinIndex
-
retrieveDataFromBinner
-