Package org.apache.lucene.facet.facetset
Class LongFacetSet
java.lang.Object
org.apache.lucene.facet.facetset.FacetSet
org.apache.lucene.facet.facetset.LongFacetSet
A
FacetSet which encodes long dimension values.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLongFacetSet(long... values) Constructs a new instance of a facet set which storeslongdimension values. -
Method Summary
Modifier and TypeMethodDescriptionlong[]Returns the dimension values in this facet set as comparable longs.Methods inherited from class org.apache.lucene.facet.facetset.FacetSet
packValues, sizePackedBytes
-
Field Details
-
values
public final long[] valuesThe raw dimension values of this facet set.
-
-
Constructor Details
-
LongFacetSet
public LongFacetSet(long... values) Constructs a new instance of a facet set which storeslongdimension values.
-
-
Method Details
-
getComparableValues
public long[] getComparableValues()Description copied from class:FacetSetReturns the dimension values in this facet set as comparable longs.- Specified by:
getComparableValuesin classFacetSet
-