Module org.elasticsearch.server
Class CellIdSource.CellSingleValue
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.NumericDocValues
org.elasticsearch.index.fielddata.AbstractNumericDocValues
org.elasticsearch.search.aggregations.bucket.geogrid.CellIdSource.CellSingleValue
- Enclosing class:
- CellIdSource
Class representing the long-encoded grid-cells belonging to
the singleton geo-doc-values.
-
Field Summary
FieldsFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
Sets the appropriate long-encoded value fortarget
invalue
.boolean
advanceExact
(int docId) int
docID()
long
Methods inherited from class org.elasticsearch.index.fielddata.AbstractNumericDocValues
advance, cost, nextDoc
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Field Details
-
precision
protected final int precision -
value
protected long value
-
-
Constructor Details
-
CellSingleValue
-
-
Method Details
-
advanceExact
- Throws:
IOException
-
longValue
- Specified by:
longValue
in classorg.apache.lucene.index.NumericDocValues
- Throws:
IOException
-
advance
Sets the appropriate long-encoded value fortarget
invalue
.- Parameters:
target
- the geo-value to encode- Returns:
- true if the value needs to be added, otherwise false.
-
docID
public int docID()- Specified by:
docID
in classorg.apache.lucene.search.DocIdSetIterator
-