Class GeographyType
java.lang.Object
io.debezium.connector.jdbc.type.AbstractType
io.debezium.connector.jdbc.type.AbstractGeoType
io.debezium.connector.jdbc.dialect.postgres.GeometryType
io.debezium.connector.jdbc.dialect.postgres.GeographyType
- All Implemented Interfaces:
Type
-
Field Summary
FieldsFields inherited from class io.debezium.connector.jdbc.dialect.postgres.GeometryType
GEO_FROM_WKB_FUNCTION, postgisSchemaFields inherited from class io.debezium.connector.jdbc.type.AbstractGeoType
SRID, WKB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the names that this type will be mapped as.getTypeName(DatabaseDialect dialect, org.apache.kafka.connect.data.Schema schema, boolean key) Return the SQL type name for this type.Methods inherited from class io.debezium.connector.jdbc.dialect.postgres.GeometryType
configure, getQueryBindingMethods inherited from class io.debezium.connector.jdbc.type.AbstractGeoType
bindMethods inherited from class io.debezium.connector.jdbc.type.AbstractType
getDefaultValueBinding, getDialect, getSchemaParameter, getSourceColumnPrecision, getSourceColumnSize, getSourceColumnType, throwUnexpectedValue, toString
-
Field Details
-
INSTANCE
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
GeographyType
public GeographyType()
-
-
Method Details
-
getRegistrationKeys
Description copied from interface:TypeReturns the names that this type will be mapped as.For example, when creating a custom mapping for
io.debezium.data.Bits, a type could be registered using theLOGICAL_NAMEof the schema if the type is to be used when a schema name is identified; otherwise it could be registered as the raw column type when column type propagation is enabled.- Specified by:
getRegistrationKeysin interfaceType- Overrides:
getRegistrationKeysin classGeometryType
-
getTypeName
public String getTypeName(DatabaseDialect dialect, org.apache.kafka.connect.data.Schema schema, boolean key) Description copied from interface:TypeReturn the SQL type name for this type.- Specified by:
getTypeNamein interfaceType- Overrides:
getTypeNamein classGeometryType- Parameters:
dialect- dialect instance, nevernullschema- field schema, nevernullkey- whether the type resolution is for a key field- Returns:
- the resolved type to be used in DDL statements
-