public static class PostgresType.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
elementTypeOid |
private List<String> |
enumValues |
private int |
jdbcId |
private int |
modifiers |
private String |
name |
private int |
oid |
private int |
parentTypeOid |
private org.postgresql.core.TypeInfo |
typeInfo |
private TypeRegistry |
typeRegistry |
| Constructor and Description |
|---|
Builder(TypeRegistry typeRegistry,
String name,
int oid,
int jdbcId,
int modifiers,
org.postgresql.core.TypeInfo typeInfo) |
| Modifier and Type | Method and Description |
|---|---|
PostgresType |
build() |
PostgresType.Builder |
elementType(int elementTypeOid) |
PostgresType.Builder |
enumValues(List<String> enumValues) |
boolean |
hasParentType() |
PostgresType.Builder |
parentType(int parentTypeOid) |
private final TypeRegistry typeRegistry
private final String name
private final int oid
private final int jdbcId
private final int modifiers
private final org.postgresql.core.TypeInfo typeInfo
private int parentTypeOid
private int elementTypeOid
public Builder(TypeRegistry typeRegistry, String name, int oid, int jdbcId, int modifiers, org.postgresql.core.TypeInfo typeInfo)
public PostgresType.Builder parentType(int parentTypeOid)
public boolean hasParentType()
public PostgresType.Builder elementType(int elementTypeOid)
public PostgresType.Builder enumValues(List<String> enumValues)
public PostgresType build()
Copyright © 2021 JBoss by Red Hat. All rights reserved.