| Modifier and Type | Field and Description |
|---|---|
private PostgresType |
PostgresType.elementType |
private PostgresType |
PostgresType.parentType |
static PostgresType |
PostgresType.UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,PostgresType> |
TypeRegistry.nameToType |
private Map<Integer,PostgresType> |
TypeRegistry.oidToType |
| Modifier and Type | Method and Description |
|---|---|
PostgresType |
PostgresType.Builder.build() |
PostgresType |
TypeRegistry.get(int oid) |
PostgresType |
TypeRegistry.get(String name) |
PostgresType |
PostgresType.getElementType() |
PostgresType |
PostgresType.getParentType() |
PostgresType |
PostgresType.getRootType() |
private PostgresType |
TypeRegistry.loadType(PreparedStatement statement) |
private PostgresType |
TypeRegistry.resolveUnknownType(int lookupOid) |
private PostgresType |
TypeRegistry.resolveUnknownType(String name) |
| Modifier and Type | Method and Description |
|---|---|
private void |
TypeRegistry.addType(PostgresType type) |
protected Object |
PostgresValueConverter.convertArray(Column column,
org.apache.kafka.connect.data.Field fieldDefn,
PostgresType elementType,
ValueConverter elementConverter,
Object data) |
private Object |
PostgresValueConverter.resolveArrayValue(Object value,
PostgresType elementType) |
| Constructor and Description |
|---|
PostgresType(String name,
int oid,
int jdbcId,
int modifiers,
org.postgresql.core.TypeInfo typeInfo,
List<String> enumValues,
PostgresType parentType,
PostgresType elementType) |
PostgresType(String name,
int oid,
int jdbcId,
org.postgresql.core.TypeInfo typeInfo,
List<String> enumValues,
PostgresType parentType,
PostgresType elementType) |
UnchangedToastedReplicationMessageColumn(String columnName,
PostgresType type,
String typeWithModifiers,
boolean optional,
boolean hasMetadata) |
| Modifier and Type | Field and Description |
|---|---|
private PostgresType |
AbstractReplicationMessageColumn.type |
| Modifier and Type | Method and Description |
|---|---|
PostgresType |
ReplicationMessage.Column.getType() |
PostgresType |
AbstractReplicationMessageColumn.getType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
ReplicationMessage.ColumnValue.asArray(String columnName,
PostgresType type,
String fullType,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection) |
Object |
AbstractColumnValue.asArray(String columnName,
PostgresType type,
String fullType,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection) |
boolean |
ReplicationMessage.ColumnValue.isArray(PostgresType type) |
boolean |
AbstractColumnValue.isArray(PostgresType type) |
static Object |
ReplicationMessageColumnValueResolver.resolveValue(String columnName,
PostgresType type,
String fullType,
ReplicationMessage.ColumnValue value,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection,
boolean includeUnknownDatatypes,
TypeRegistry typeRegistry)
Resolve the value of a
ReplicationMessage.ColumnValue. |
| Constructor and Description |
|---|
AbstractReplicationMessageColumn(String columnName,
PostgresType type,
String typeWithModifiers,
boolean optional,
boolean hasMetadata) |
TypeMetadataImpl(String columnName,
PostgresType type,
String typeWithModifiers,
boolean optional) |
| Modifier and Type | Field and Description |
|---|---|
private PostgresType |
ColumnMetaData.postgresType |
| Modifier and Type | Method and Description |
|---|---|
PostgresType |
ColumnMetaData.getPostgresType() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
PgOutputReplicationMessage.getValue(String columnName,
PostgresType type,
String fullType,
String rawValue,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection,
boolean includeUnknownDataTypes,
TypeRegistry typeRegistry)
Converts the value (string representation) coming from PgOutput plugin to
a Java value based on the type of the column from the message.
|
| Constructor and Description |
|---|
ColumnMetaData(String columnName,
PostgresType postgresType,
boolean key,
boolean optional,
int typeModifier)
Create a metadata structure representing a column.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
PgProtoColumnValue.asArray(String columnName,
PostgresType type,
String fullType,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection) |
Object |
PgProtoReplicationMessage.getValue(String columnName,
PostgresType type,
String fullType,
PgProto.DatumMessage datumMessage,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection,
boolean includeUnknownDatatypes) |
boolean |
PgProtoColumnValue.isArray(PostgresType type) |
| Modifier and Type | Method and Description |
|---|---|
Object |
Wal2JsonReplicationMessage.getValue(String columnName,
PostgresType type,
String fullType,
Value rawValue,
PostgresStreamingChangeEventSource.PgConnectionSupplier connection,
boolean includeUnknownDatatypes)
Converts the value (string representation) coming from wal2json plugin to
a Java value based on the type of the column from the message.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.