public class PgProtoColumnValue extends AbstractColumnValue<PgProto.DatumMessage>
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private PgProto.DatumMessage |
value |
| Constructor and Description |
|---|
PgProtoColumnValue(PgProto.DatumMessage value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
asArray(String columnName,
PostgresType type,
String fullType,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection) |
Boolean |
asBoolean() |
byte[] |
asByteArray() |
Object |
asDecimal() |
Object |
asDefault(TypeRegistry typeRegistry,
int columnType,
String columnName,
String fullType,
boolean includeUnknownDatatypes,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection) |
Double |
asDouble() |
Float |
asFloat() |
Instant |
asInstant() |
Integer |
asInteger() |
Object |
asInterval() |
LocalDate |
asLocalDate() |
Object |
asLocalTime() |
Long |
asLong() |
org.postgresql.util.PGmoney |
asMoney() |
OffsetDateTime |
asOffsetDateTimeAtUtc() |
OffsetTime |
asOffsetTimeUtc() |
org.postgresql.geometric.PGpoint |
asPoint() |
String |
asString() |
Object |
asTime() |
PgProto.DatumMessage |
getRawValue() |
boolean |
isArray(PostgresType type) |
boolean |
isNull() |
private static final org.slf4j.Logger LOGGER
private PgProto.DatumMessage value
public PgProtoColumnValue(PgProto.DatumMessage value)
public PgProto.DatumMessage getRawValue()
public boolean isNull()
public String asString()
public Boolean asBoolean()
public Integer asInteger()
public Long asLong()
public Float asFloat()
public Double asDouble()
public Object asDecimal()
public byte[] asByteArray()
public LocalDate asLocalDate()
asLocalDate in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asLocalDate in class AbstractColumnValue<PgProto.DatumMessage>public Object asTime()
asTime in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asTime in class AbstractColumnValue<PgProto.DatumMessage>public OffsetTime asOffsetTimeUtc()
asOffsetTimeUtc in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asOffsetTimeUtc in class AbstractColumnValue<PgProto.DatumMessage>public OffsetDateTime asOffsetDateTimeAtUtc()
asOffsetDateTimeAtUtc in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asOffsetDateTimeAtUtc in class AbstractColumnValue<PgProto.DatumMessage>public Instant asInstant()
asInstant in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asInstant in class AbstractColumnValue<PgProto.DatumMessage>public Object asLocalTime()
asLocalTime in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asLocalTime in class AbstractColumnValue<PgProto.DatumMessage>public Object asInterval()
asInterval in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asInterval in class AbstractColumnValue<PgProto.DatumMessage>public org.postgresql.util.PGmoney asMoney()
asMoney in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asMoney in class AbstractColumnValue<PgProto.DatumMessage>public org.postgresql.geometric.PGpoint asPoint()
asPoint in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asPoint in class AbstractColumnValue<PgProto.DatumMessage>public boolean isArray(PostgresType type)
isArray in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>isArray in class AbstractColumnValue<PgProto.DatumMessage>public Object asArray(String columnName, PostgresType type, String fullType, PostgresStreamingChangeEventSource.PgConnectionSupplier connection)
asArray in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asArray in class AbstractColumnValue<PgProto.DatumMessage>public Object asDefault(TypeRegistry typeRegistry, int columnType, String columnName, String fullType, boolean includeUnknownDatatypes, PostgresStreamingChangeEventSource.PgConnectionSupplier connection)
asDefault in interface ReplicationMessage.ColumnValue<PgProto.DatumMessage>asDefault in class AbstractColumnValue<PgProto.DatumMessage>Copyright © 2019 JBoss by Red Hat. All rights reserved.