Class GeoPointValues


  • public abstract class GeoPointValues
    extends java.lang.Object
    Per-document geo-point values.
    • Constructor Summary

      Constructors 
      Constructor Description
      GeoPointValues()  
    • Method Summary

      Modifier and Type Method Description
      abstract boolean advanceExact​(int doc)
      Advance this instance to the given document id
      abstract GeoPoint geoPointValue()
      Get the GeoPoint associated with the current document.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoPointValues

        public GeoPointValues()
    • Method Detail

      • advanceExact

        public abstract boolean advanceExact​(int doc)
                                      throws java.io.IOException
        Advance this instance to the given document id
        Returns:
        true if there is a value for this document
        Throws:
        java.io.IOException
      • geoPointValue

        public abstract GeoPoint geoPointValue()
        Get the GeoPoint associated with the current document. The returned GeoPoint might be reused across calls.