@Immutable public final class DataType extends Object
| Modifier and Type | Field and Description |
|---|---|
private int[] |
arrayDimensions |
private String |
expression |
private int |
jdbcType |
private long |
length |
private String |
name |
private int |
scale |
| Modifier | Constructor and Description |
|---|---|
protected |
DataType(String expr,
String name,
int jdbcType,
long length,
int scale,
int[] arrayDimensions,
int arrayDimLength) |
| Modifier and Type | Method and 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.
|
private final String expression
private final String name
private final int jdbcType
private final long length
private final int scale
private final int[] arrayDimensions
public static DataType userDefinedType(String qualifiedName)
qualifiedName - the fully-qualified name; may not be nullpublic String expression()
public String name()
public int jdbcType()
public long length()
public int scale()
public int[] arrayDimensions()
Copyright © 2020 JBoss by Red Hat. All rights reserved.