Class FacetValueCountImpl

java.lang.Object
ddf.catalog.operation.impl.FacetValueCountImpl
All Implemented Interfaces:
ddf.catalog.operation.FacetValueCount

public class FacetValueCountImpl extends Object implements ddf.catalog.operation.FacetValueCount
A simple tuple object pairing text faceting value results with their respective counts.
  • Constructor Details

    • FacetValueCountImpl

      public FacetValueCountImpl(String value, long count)
      Creates a pairing from the provided value and count
      Parameters:
      value - The faceted attribute value
      count - The number of occurrences of value
  • Method Details

    • getCount

      public long getCount()
      Specified by:
      getCount in interface ddf.catalog.operation.FacetValueCount
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ddf.catalog.operation.FacetValueCount