Class Geo3DPointSortField


  • final class Geo3DPointSortField
    extends SortField
    Sorts by distance from an origin location.
    • Constructor Detail

    • Method Detail

      • getMissingValue

        public java.lang.Double getMissingValue()
        Description copied from class: SortField
        Return the value to use for documents that don't have a value. A value of null indicates that default should be used.
        Overrides:
        getMissingValue in class SortField
      • setMissingValue

        public void setMissingValue​(java.lang.Object missingValue)
        Description copied from class: SortField
        Set the value to use for documents that don't have a value.
        Overrides:
        setMissingValue in class SortField
      • hashCode

        public int hashCode()
        Description copied from class: SortField
        Returns a hash code for this SortField instance. If a FieldComparatorSource was provided, it must properly implement hashCode (unless a singleton is always used).
        Overrides:
        hashCode in class SortField
      • equals

        public boolean equals​(java.lang.Object obj)
        Description copied from class: SortField
        Returns true if o is equal to this. If a FieldComparatorSource was provided, it must properly implement equals (unless a singleton is always used).
        Overrides:
        equals in class SortField
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class SortField