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[]arrayDimensionsprivate Stringexpressionprivate intjdbcTypeprivate longlengthprivate Stringnameprivate intscale
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]arrayDimensions()Stringexpression()intjdbcType()longlength()Stringname()intscale()StringtoString()static DataTypeuserDefinedType(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()
-
-