Package org.openrefine.browsing.facets
Class NumericFacetResult
- java.lang.Object
-
- org.openrefine.browsing.facets.NumericFacetResult
-
- All Implemented Interfaces:
FacetResult
public class NumericFacetResult extends Object implements FacetResult
-
-
Field Summary
Fields Modifier and Type Field Description protected HistogramState
_allRowsHistogram
protected RangeFacet.RangeFacetConfig
_config
protected double
_max
protected double
_min
protected HistogramState
_rowsInViewHistogram
protected double
_step
-
Constructor Summary
Constructors Constructor Description NumericFacetResult(RangeFacet.RangeFacetConfig config, NumericFacetState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
getBaseBins()
long
getBaseBlankCount()
long
getBaseErrorCount()
long
getBaseNonNumericCount()
long
getBaseNumericCount()
long[]
getBins()
long
getBlankCount()
String
getColumnName()
String
getError()
protected long
getErrorCount()
String
getExpression()
Double
getFrom()
Double
getMax()
Double
getMin()
String
getName()
long
getNonNumericCount()
long
getNumericCount()
Double
getStep()
Double
getTo()
boolean
isFiniteRange()
-
-
-
Field Detail
-
_min
protected final double _min
-
_max
protected final double _max
-
_step
protected final double _step
-
_config
protected final RangeFacet.RangeFacetConfig _config
-
_allRowsHistogram
protected final HistogramState _allRowsHistogram
-
_rowsInViewHistogram
protected final HistogramState _rowsInViewHistogram
-
-
Constructor Detail
-
NumericFacetResult
public NumericFacetResult(RangeFacet.RangeFacetConfig config, NumericFacetState state)
-
-
Method Detail
-
getBaseNumericCount
public long getBaseNumericCount()
-
getBaseNonNumericCount
public long getBaseNonNumericCount()
-
getBaseBlankCount
public long getBaseBlankCount()
-
getBaseErrorCount
public long getBaseErrorCount()
-
getNumericCount
public long getNumericCount()
-
getNonNumericCount
public long getNonNumericCount()
-
getBlankCount
public long getBlankCount()
-
getErrorCount
protected long getErrorCount()
-
getName
public String getName()
-
getExpression
public String getExpression()
-
getColumnName
public String getColumnName()
-
getError
public String getError()
-
isFiniteRange
public boolean isFiniteRange()
-
getMin
public Double getMin()
-
getMax
public Double getMax()
-
getStep
public Double getStep()
-
getBins
public long[] getBins()
-
getBaseBins
public long[] getBaseBins()
-
getFrom
public Double getFrom()
-
getTo
public Double getTo()
-
-