Class LuceneLongDomain
java.lang.Object
org.hibernate.search.backend.lucene.types.lowlevel.impl.LuceneLongDomain
- All Implemented Interfaces:
LuceneNumericDomain<Long>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.QuerycreateExactQuery(String absoluteFieldPath, Long value) org.apache.lucene.search.FieldComparator<Long>createFieldComparator(String fieldName, int numHits, Long missingValue, boolean reversed, org.apache.lucene.search.Pruning pruning, MultiValueMode multiValueMode, NestedDocsProvider nestedDocsProvider) org.apache.lucene.index.IndexableFieldcreateIndexField(String absoluteFieldPath, Long numericValue) org.apache.lucene.facet.FacetscreateRangeFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, Collection<? extends Range<? extends Long>> ranges, NestedDocsProvider nestedDocsProvider) org.apache.lucene.search.QuerycreateRangeQuery(String absoluteFieldPath, Long lowerLimit, Long upperLimit) org.apache.lucene.search.QuerycreateSetQuery(String absoluteFieldPath, Collection<Long> values) org.apache.lucene.index.IndexableFieldcreateSortedDocValuesField(String absoluteFieldPath, Long numericValue) org.apache.lucene.facet.FacetscreateTermsFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, NestedDocsProvider nestedDocsProvider) static LuceneNumericDomain<Long>get()getNextValue(Long value) getPreviousValue(Long value) sortedDocValueToTerm(long longValue)
-
Constructor Details
-
LuceneLongDomain
public LuceneLongDomain()
-
-
Method Details
-
get
-
getMinValue
- Specified by:
getMinValuein interfaceLuceneNumericDomain<Long>
-
getMaxValue
- Specified by:
getMaxValuein interfaceLuceneNumericDomain<Long>
-
getPreviousValue
- Specified by:
getPreviousValuein interfaceLuceneNumericDomain<Long>
-
getNextValue
- Specified by:
getNextValuein interfaceLuceneNumericDomain<Long>
-
createComparator
- Specified by:
createComparatorin interfaceLuceneNumericDomain<Long>
-
createExactQuery
- Specified by:
createExactQueryin interfaceLuceneNumericDomain<Long>
-
createRangeQuery
public org.apache.lucene.search.Query createRangeQuery(String absoluteFieldPath, Long lowerLimit, Long upperLimit) - Specified by:
createRangeQueryin interfaceLuceneNumericDomain<Long>
-
createSetQuery
public org.apache.lucene.search.Query createSetQuery(String absoluteFieldPath, Collection<Long> values) - Specified by:
createSetQueryin interfaceLuceneNumericDomain<Long>
-
sortedDocValueToTerm
- Specified by:
sortedDocValueToTermin interfaceLuceneNumericDomain<Long>
-
createTermsFacetCounts
public org.apache.lucene.facet.Facets createTermsFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, NestedDocsProvider nestedDocsProvider) throws IOException - Specified by:
createTermsFacetCountsin interfaceLuceneNumericDomain<Long>- Throws:
IOException
-
createRangeFacetCounts
public org.apache.lucene.facet.Facets createRangeFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, Collection<? extends Range<? extends Long>> ranges, NestedDocsProvider nestedDocsProvider) throws IOException - Specified by:
createRangeFacetCountsin interfaceLuceneNumericDomain<Long>- Throws:
IOException
-
createIndexField
public org.apache.lucene.index.IndexableField createIndexField(String absoluteFieldPath, Long numericValue) - Specified by:
createIndexFieldin interfaceLuceneNumericDomain<Long>
-
createSortedDocValuesField
public org.apache.lucene.index.IndexableField createSortedDocValuesField(String absoluteFieldPath, Long numericValue) - Specified by:
createSortedDocValuesFieldin interfaceLuceneNumericDomain<Long>
-
createFieldComparator
public org.apache.lucene.search.FieldComparator<Long> createFieldComparator(String fieldName, int numHits, Long missingValue, boolean reversed, org.apache.lucene.search.Pruning pruning, MultiValueMode multiValueMode, NestedDocsProvider nestedDocsProvider) - Specified by:
createFieldComparatorin interfaceLuceneNumericDomain<Long>
-