Geometry
The Geometry class represents SurrealDB geometric data types. It currently supports point geometry, mapping to Java's Point2D.Double from java.awt.geom.
Source: surrealdb.java
Methods
.isPoint()
Checks if the geometry value is a point.
Returns: boolean
.getPoint()
Returns the point coordinates as a Point2D.Double. The x coordinate represents longitude and y represents latitude.
Returns: Point2D.Double (java.awt.geom)
Example
See Also
Value types — Type mapping overview
Value — The Value class reference
SurrealQL geometries — Geometry types in SurrealDB