Class AbstractColumnValue<T>
java.lang.Object
io.debezium.connector.postgresql.connection.AbstractColumnValue<T>
- All Implemented Interfaces:
ReplicationMessage.ColumnValue<T>
- Direct Known Subclasses:
PgOutputColumnValue,PgProtoColumnValue
public abstract class AbstractColumnValue<T>
extends Object
implements ReplicationMessage.ColumnValue<T>
- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasArray(String columnName, PostgresType type, String fullType, PostgresStreamingChangeEventSource.PgConnectionSupplier connection) org.postgresql.geometric.PGboxasBox()org.postgresql.geometric.PGcircleasCircle()asDefault(TypeRegistry typeRegistry, int columnType, String columnName, String fullType, boolean includeUnknownDatatypes, PostgresStreamingChangeEventSource.PgConnectionSupplier connection) org.postgresql.geometric.PGlineasLine()org.postgresql.geometric.PGlsegasLseg()asMoney()org.postgresql.geometric.PGpathasPath()org.postgresql.geometric.PGpointasPoint()org.postgresql.geometric.PGpolygonasTime()booleanisArray(PostgresType type) protected StringremoveCurrencySymbol(String currency) Remove any () (for negative) invalid input: '&' currency symbol (for example: $,)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.postgresql.connection.ReplicationMessage.ColumnValue
asBoolean, asByteArray, asDecimal, asDouble, asFloat, asInteger, asLong, asString, getRawValue, isNull
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AbstractColumnValue
public AbstractColumnValue()
-
-
Method Details
-
asLocalDate
- Specified by:
asLocalDatein interfaceReplicationMessage.ColumnValue<T>
-
asTime
- Specified by:
asTimein interfaceReplicationMessage.ColumnValue<T>
-
asLocalTime
- Specified by:
asLocalTimein interfaceReplicationMessage.ColumnValue<T>
-
asOffsetTimeUtc
- Specified by:
asOffsetTimeUtcin interfaceReplicationMessage.ColumnValue<T>
-
asOffsetDateTimeAtUtc
- Specified by:
asOffsetDateTimeAtUtcin interfaceReplicationMessage.ColumnValue<T>
-
asInstant
- Specified by:
asInstantin interfaceReplicationMessage.ColumnValue<T>
-
asBox
public org.postgresql.geometric.PGbox asBox()- Specified by:
asBoxin interfaceReplicationMessage.ColumnValue<T>
-
asCircle
public org.postgresql.geometric.PGcircle asCircle()- Specified by:
asCirclein interfaceReplicationMessage.ColumnValue<T>
-
asInterval
- Specified by:
asIntervalin interfaceReplicationMessage.ColumnValue<T>
-
asLine
public org.postgresql.geometric.PGline asLine()- Specified by:
asLinein interfaceReplicationMessage.ColumnValue<T>
-
asLseg
public org.postgresql.geometric.PGlseg asLseg()- Specified by:
asLsegin interfaceReplicationMessage.ColumnValue<T>
-
asMoney
- Specified by:
asMoneyin interfaceReplicationMessage.ColumnValue<T>
-
asPath
public org.postgresql.geometric.PGpath asPath()- Specified by:
asPathin interfaceReplicationMessage.ColumnValue<T>
-
asPoint
public org.postgresql.geometric.PGpoint asPoint()- Specified by:
asPointin interfaceReplicationMessage.ColumnValue<T>
-
asPolygon
public org.postgresql.geometric.PGpolygon asPolygon()- Specified by:
asPolygonin interfaceReplicationMessage.ColumnValue<T>
-
isArray
- Specified by:
isArrayin interfaceReplicationMessage.ColumnValue<T>
-
asArray
public Object asArray(String columnName, PostgresType type, String fullType, PostgresStreamingChangeEventSource.PgConnectionSupplier connection) - Specified by:
asArrayin interfaceReplicationMessage.ColumnValue<T>
-
asDefault
public Object asDefault(TypeRegistry typeRegistry, int columnType, String columnName, String fullType, boolean includeUnknownDatatypes, PostgresStreamingChangeEventSource.PgConnectionSupplier connection) - Specified by:
asDefaultin interfaceReplicationMessage.ColumnValue<T>
-
removeCurrencySymbol
Remove any () (for negative) invalid input: '&' currency symbol (for example: $,)
-