public static class AbstractReplicationMessageColumn.TypeMetadataImpl extends Object implements ReplicationMessage.ColumnTypeMetadata
| Modifier and Type | Field and Description |
|---|---|
private Integer |
length
Length of the type, if present
|
private static org.slf4j.Logger |
LOGGER |
private static String[] |
NO_MODIFIERS |
private boolean |
optional
True if the type has not
NOT NULL constraint |
private Integer |
scale
Scale of the type, if present
|
static Pattern |
TYPE_PATTERN |
private static Pattern |
TYPEMOD_PATTERN |
| Constructor and Description |
|---|
TypeMetadataImpl(String columnName,
PostgresType type,
String typeWithModifiers,
boolean optional) |
private static final org.slf4j.Logger LOGGER
private static final String[] NO_MODIFIERS
public static final Pattern TYPE_PATTERN
private static final Pattern TYPEMOD_PATTERN
private Integer length
private Integer scale
private final boolean optional
NOT NULL constraintpublic TypeMetadataImpl(String columnName, PostgresType type, String typeWithModifiers, boolean optional)
public int getLength()
getLength in interface ReplicationMessage.ColumnTypeMetadatapublic int getScale()
getScale in interface ReplicationMessage.ColumnTypeMetadatapublic boolean isOptional()
Copyright © 2021 JBoss by Red Hat. All rights reserved.