Package io.debezium.relational.ddl
Class DataType
- java.lang.Object
-
- io.debezium.relational.ddl.DataType
-
@Immutable public final class DataType extends Object
An immutable representation of a data type- Author:
- Randall Hauch
-
-
Field Summary
Fields Modifier and Type Field Description private int[]
arrayDimensions
private String
expression
private int
jdbcType
private long
length
private String
name
private int
scale
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
arrayDimensions()
String
expression()
int
jdbcType()
long
length()
String
name()
int
scale()
String
toString()
static DataType
userDefinedType(String qualifiedName)
Obtain the data type for a user-defined or fully-qualified type name.
-
-
-
Method Detail
-
userDefinedType
public static DataType userDefinedType(String qualifiedName)
Obtain the data type for a user-defined or fully-qualified type name.- Parameters:
qualifiedName
- the fully-qualified name; may not be null- Returns:
- the data type; never null
-
expression
public String expression()
-
name
public String name()
-
jdbcType
public int jdbcType()
-
length
public long length()
-
scale
public int scale()
-
arrayDimensions
public int[] arrayDimensions()
-
-