Module org.jooq
Package org.jooq

Interface Spatial

All Superinterfaces:
Data, Serializable
All Known Implementing Classes:
Geography, Geometry

public interface Spatial extends Data
A wrapper type for spatial data obtained from the database.

The wrapper represents spatial Data.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 …) value is represented by a null reference of type Spatial, 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.

  • Method Summary

    Methods inherited from interface org.jooq.Data

    data