Class AbstractColumnValue<T>
- java.lang.Object
-
- io.debezium.connector.postgresql.connection.AbstractColumnValue<T>
-
- All Implemented Interfaces:
ReplicationMessage.ColumnValue<T>
- Direct Known Subclasses:
PgOutputColumnValue,PgProtoColumnValue,Wal2JsonColumnValue
public abstract class AbstractColumnValue<T> extends Object implements ReplicationMessage.ColumnValue<T>
- Author:
- Chris Cranford
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description AbstractColumnValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectasArray(String columnName, PostgresType type, String fullType, PostgresStreamingChangeEventSource.PgConnectionSupplier connection)org.postgresql.geometric.PGboxasBox()org.postgresql.geometric.PGcircleasCircle()ObjectasDefault(TypeRegistry typeRegistry, int columnType, String columnName, String fullType, boolean includeUnknownDatatypes, PostgresStreamingChangeEventSource.PgConnectionSupplier connection)InstantasInstant()ObjectasInterval()org.postgresql.geometric.PGlineasLine()LocalDateasLocalDate()ObjectasLocalTime()org.postgresql.geometric.PGlsegasLseg()org.postgresql.util.PGmoneyasMoney()OffsetDateTimeasOffsetDateTimeAtUtc()OffsetTimeasOffsetTimeUtc()org.postgresql.geometric.PGpathasPath()org.postgresql.geometric.PGpointasPoint()org.postgresql.geometric.PGpolygonasPolygon()ObjectasTime()booleanisArray(PostgresType type)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.connector.postgresql.connection.ReplicationMessage.ColumnValue
asBoolean, asByteArray, asDecimal, asDouble, asFloat, asInteger, asLong, asString, getRawValue, isNull
-
-
-
-
Method Detail
-
asLocalDate
public LocalDate asLocalDate()
- Specified by:
asLocalDatein interfaceReplicationMessage.ColumnValue<T>
-
asTime
public Object asTime()
- Specified by:
asTimein interfaceReplicationMessage.ColumnValue<T>
-
asLocalTime
public Object asLocalTime()
- Specified by:
asLocalTimein interfaceReplicationMessage.ColumnValue<T>
-
asOffsetTimeUtc
public OffsetTime asOffsetTimeUtc()
- Specified by:
asOffsetTimeUtcin interfaceReplicationMessage.ColumnValue<T>
-
asOffsetDateTimeAtUtc
public OffsetDateTime asOffsetDateTimeAtUtc()
- Specified by:
asOffsetDateTimeAtUtcin interfaceReplicationMessage.ColumnValue<T>
-
asInstant
public Instant 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
public Object 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
public org.postgresql.util.PGmoney 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
public boolean isArray(PostgresType type)
- 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>
-
-