Package ddf.catalog.operation.impl
Class FacetValueCountImpl
java.lang.Object
ddf.catalog.operation.impl.FacetValueCountImpl
- All Implemented Interfaces:
ddf.catalog.operation.FacetValueCount
A simple tuple object pairing text faceting value results with their respective counts.
-
Constructor Summary
ConstructorsConstructorDescriptionFacetValueCountImpl(String value, long count) Creates a pairing from the provided value and count -
Method Summary
-
Constructor Details
-
FacetValueCountImpl
Creates a pairing from the provided value and count- Parameters:
value- The faceted attribute valuecount- The number of occurrences of value
-
-
Method Details
-
getCount
public long getCount()- Specified by:
getCountin interfaceddf.catalog.operation.FacetValueCount
-
getValue
- Specified by:
getValuein interfaceddf.catalog.operation.FacetValueCount
-