Package io.debezium.connector.postgresql
Class PostgresType.Builder
- java.lang.Object
-
- io.debezium.connector.postgresql.PostgresType.Builder
-
- Enclosing class:
- PostgresType
public static class PostgresType.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private intelementTypeOidprivate List<String>enumValuesprivate intjdbcIdprivate intmodifiersprivate Stringnameprivate intoidprivate intparentTypeOidprivate org.postgresql.core.TypeInfotypeInfoprivate TypeRegistrytypeRegistry
-
Constructor Summary
Constructors Constructor Description Builder(TypeRegistry typeRegistry, String name, int oid, int jdbcId, int modifiers, org.postgresql.core.TypeInfo typeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostgresTypebuild()PostgresType.BuilderelementType(int elementTypeOid)PostgresType.BuilderenumValues(List<String> enumValues)booleanhasParentType()PostgresType.BuilderparentType(int parentTypeOid)
-
-
-
Field Detail
-
typeRegistry
private final TypeRegistry typeRegistry
-
name
private final String name
-
oid
private final int oid
-
jdbcId
private final int jdbcId
-
modifiers
private final int modifiers
-
typeInfo
private final org.postgresql.core.TypeInfo typeInfo
-
parentTypeOid
private int parentTypeOid
-
elementTypeOid
private int elementTypeOid
-
-
Constructor Detail
-
Builder
public Builder(TypeRegistry typeRegistry, String name, int oid, int jdbcId, int modifiers, org.postgresql.core.TypeInfo typeInfo)
-
-
Method Detail
-
parentType
public PostgresType.Builder parentType(int parentTypeOid)
-
hasParentType
public boolean hasParentType()
-
elementType
public PostgresType.Builder elementType(int elementTypeOid)
-
enumValues
public PostgresType.Builder enumValues(List<String> enumValues)
-
build
public PostgresType build()
-
-