Package io.debezium.data.geometry
Class Geography
java.lang.Object
io.debezium.data.geometry.Geometry
io.debezium.data.geometry.Geography
A semantic type for a Geography class.
Used to describe geometries operating on a spherical base (rather than Geometry which operates on a planar basis).
This is extremely similar to a Geometry – but they're quite different types and not in a hierarchy.
See the Open Geospatial Consortium Simple Features Access specification for details on the Well-Known-Binary format http://www.opengeospatial.org/standards/sfa
WKB has to be forwards-compatible to the spec, so strict OGC WKB, and EWKB (PostGIS) are both ok.
- Author:
- Robert Coup
-
Field Summary
Fields inherited from class io.debezium.data.geometry.Geometry
SRID_FIELD, WKB_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.kafka.connect.data.SchemaBuilder
builder()
Returns aSchemaBuilder
for a Geography field.Methods inherited from class io.debezium.data.geometry.Geometry
createValue, schema
-
Field Details
-
LOGICAL_NAME
- See Also:
-
-
Constructor Details
-
Geography
public Geography()
-
-
Method Details
-
builder
public static org.apache.kafka.connect.data.SchemaBuilder builder()Returns aSchemaBuilder
for a Geography field. You can use the resulting SchemaBuilder to set additional schema settings such as required/optional, default value, and documentation.- Returns:
- the schema builder
-