Module org.elasticsearch.server
Class CellIdSource.CellSingleValue
java.lang.Object
org.apache.lucene.search.LongValues
org.elasticsearch.search.aggregations.bucket.geogrid.CellIdSource.CellSingleValue
- Enclosing class:
CellIdSource
protected abstract static class CellIdSource.CellSingleValue
extends org.apache.lucene.search.LongValues
Class representing the long-encoded grid-cells belonging to
the singleton geo-doc-values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanSets the appropriate long-encoded value fortargetinvalue.booleanadvanceExact(int docId) long
-
Field Details
-
precision
protected final int precision -
value
protected long value
-
-
Constructor Details
-
CellSingleValue
-
-
Method Details
-
advanceExact
- Specified by:
advanceExactin classorg.apache.lucene.search.LongValues- Throws:
IOException
-
longValue
- Specified by:
longValuein classorg.apache.lucene.search.LongValues- Throws:
IOException
-
advance
Sets the appropriate long-encoded value fortargetinvalue.- Parameters:
target- the geo-value to encode- Returns:
- true if the value needs to be added, otherwise false.
-