Class GeoLocation

    • Method Detail

      • isCoords

        public boolean isCoords()
        Is this variant instance of kind coords?
      • coords

        public java.util.List<java.lang.Double> coords()
        Get the coords variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the coords kind.
      • isGeohash

        public boolean isGeohash()
        Is this variant instance of kind geohash?
      • geohash

        public GeoHashLocation geohash()
        Get the geohash variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the geohash kind.
      • isLatlon

        public boolean isLatlon()
        Is this variant instance of kind latlon?
      • latlon

        public LatLonGeoLocation latlon()
        Get the latlon variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the latlon kind.
      • isText

        public boolean isText()
        Is this variant instance of kind text?
      • text

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