public class TypeInfo extends Object
DatabaseMetaData.getTypeInfo()
Modifier and Type | Method and Description |
---|---|
static LinkedHashSet<TypeInfo> |
extractTypeInfo(DatabaseMetaData metaData)
Extract the type information from the JDBC driver's DatabaseMetaData
|
String[] |
getCreateParams() |
int |
getJdbcTypeCode() |
String |
getLiteralPrefix() |
String |
getLiteralSuffix() |
short |
getMaximumScale() |
short |
getMinimumScale() |
TypeNullability |
getNullability() |
int |
getPrecision() |
TypeSearchability |
getSearchability() |
String |
getTypeName() |
boolean |
isCaseSensitive() |
boolean |
isFixedPrecisionScale() |
boolean |
isUnsigned() |
public static LinkedHashSet<TypeInfo> extractTypeInfo(DatabaseMetaData metaData)
metaData
- The JDBC metadatapublic String getTypeName()
public int getJdbcTypeCode()
public String[] getCreateParams()
public boolean isUnsigned()
public int getPrecision()
public short getMinimumScale()
public short getMaximumScale()
public boolean isFixedPrecisionScale()
public String getLiteralPrefix()
public String getLiteralSuffix()
public boolean isCaseSensitive()
public TypeSearchability getSearchability()
public TypeNullability getNullability()
Copyright © 2017 JBoss by Red Hat. All rights reserved.