Class Geography
- java.lang.Object
-
- com.snowflake.snowpark_java.types.Geography
-
- All Implemented Interfaces:
Serializable
public class Geography extends Object implements Serializable
Java representation of Snowflake Geography data.- Since:
- 0.8.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asGeoJSON()
Converts this Geography object to a GeoJSON string.boolean
equals(Object other)
Checks whether two Geography object are equal.static Geography
fromGeoJSON(String g)
Creates a Geography object from a GeoJSON string.int
hashCode()
Calculates the hash code of this Geography Object.String
toString()
Converts this Geography object to a String value.
-
-
-
Method Detail
-
equals
public boolean equals(Object other)
Checks whether two Geography object are equal.
-
hashCode
public int hashCode()
Calculates the hash code of this Geography Object.
-
asGeoJSON
public String asGeoJSON()
Converts this Geography object to a GeoJSON string.- Returns:
- A GeoJSON string.
- Since:
- 0.8.0
-
toString
public String toString()
Converts this Geography object to a String value. alias ofasGeoJson
function.
-
-