Class GeoPointScriptDocValues
java.lang.Object
org.elasticsearch.index.fielddata.MultiGeoPointValues
org.elasticsearch.index.fielddata.GeoPointScriptDocValues
public final class GeoPointScriptDocValues extends MultiGeoPointValues
-
Method Summary
Modifier and Type Method Description boolean
advanceExact(int docId)
Advance this instance to the given document idint
docValueCount()
Return the number of geo points the current document has.GeoPoint
nextValue()
Return the next value associated with the current document.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
advanceExact
public boolean advanceExact(int docId)Description copied from class:MultiGeoPointValues
Advance this instance to the given document id- Specified by:
advanceExact
in classMultiGeoPointValues
- Returns:
- true if there is a value for this document
-
docValueCount
public int docValueCount()Description copied from class:MultiGeoPointValues
Return the number of geo points the current document has.- Specified by:
docValueCount
in classMultiGeoPointValues
-
nextValue
Description copied from class:MultiGeoPointValues
Return the next value associated with the current document. This must not be called more thanMultiGeoPointValues.docValueCount()
times. Note: the returnedGeoPoint
might be shared across invocations.- Specified by:
nextValue
in classMultiGeoPointValues
- Returns:
- the next value for the current docID set to
MultiGeoPointValues.advanceExact(int)
.
-