java.lang.Object
org.jooq.Geography
- All Implemented Interfaces:
Serializable
,Data
,Spatial
A wrapper type for spatial data obtained from the database.
The wrapper represents spatial data()
in serialised string form
either as a well known text (WKT) or well known binary in hex format (WKB),
depending on your dialect's default behaviour. A
CAST(NULL AS GEOGRAPHY)
value is represented by a
null
reference of type Geography
, not as
data() == null
. This is consistent with jOOQ's general way of
returning NULL
from Result
and Record
methods.
This data type is supported only by the commercial editions of jOOQ.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull String
data()
boolean
static final @NotNull Geography
Create a newGeography
instance from string data input.static final @Nullable Geography
geographyOrNull
(String data) int
hashCode()
toString()
static final @NotNull Geography
Create a newGeography
instance from string data input.
-
Method Details
-
data
Description copied from interface:Data
-
valueOf
Create a newGeography
instance from string data input. -
geography
Create a newGeography
instance from string data input.This is the same as
valueOf(String)
, but it can be static imported. -
geographyOrNull
-
hashCode
public int hashCode() -
equals
-
toString
-