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
-
Constructor Summary
ConstructorDescriptionLongFacetSet
(long... values) Constructs a new instance of a facet set which storeslong
dimension 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 storeslong
dimension values.
-
-
Method Details
-
getComparableValues
public long[] getComparableValues()Description copied from class:FacetSet
Returns the dimension values in this facet set as comparable longs.- Specified by:
getComparableValues
in classFacetSet
-