Class PointValues<T extends SpatialPoint>

java.lang.Object
org.elasticsearch.index.fielddata.PointValues<T>
Direct Known Subclasses:
GeoPointValues

public abstract class PointValues<T extends SpatialPoint> extends Object
Per-document geo-point or point values.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.lucene.index.NumericDocValues
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PointValues(org.apache.lucene.index.NumericDocValues values)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    advanceExact(int doc)
    Advance this instance to the given document id
    abstract T
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • values

      protected final org.apache.lucene.index.NumericDocValues values
  • Constructor Details

    • PointValues

      protected PointValues(org.apache.lucene.index.NumericDocValues values)
  • Method Details

    • advanceExact

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

      public abstract T pointValue() throws IOException
      Throws:
      IOException