Class GeoHashPrecision

    • Method Detail

      • _toJsonString

        public java.lang.String _toJsonString()
      • isGeohashLength

        public boolean isGeohashLength()
        Is this variant instance of kind geohash_length?
      • geohashLength

        public java.lang.Number geohashLength()
        Get the geohash_length variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the geohash_length kind.
      • isDistance

        public boolean isDistance()
        Is this variant instance of kind distance?
      • distance

        public java.lang.String distance()
        Get the distance variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the distance kind.