@Immutable public class ColumnMetadata extends Object
DatabaseMetaData.getColumns(String, String, String, String)
method.Modifier | Constructor and Description |
---|---|
protected |
ColumnMetadata(String name,
int jdbcDataType,
String typeName,
int columnSize,
int decimalDigits,
int radix,
Boolean nullable,
String description,
String defaultValue,
int length,
int ordinalPosition,
String scopeCatalogName,
String scopeSchemaName,
String scopeTableName,
Integer sourceJdbcDataType) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnSize() |
int |
getDecimalDigits() |
String |
getDefaultValue() |
String |
getDescription() |
int |
getJdbcDataType() |
int |
getLength() |
String |
getName() |
Boolean |
getNullable() |
int |
getOrdinalPosition() |
int |
getRadix() |
String |
getScopeCatalogName() |
String |
getScopeSchemaName() |
String |
getScopeTableName() |
Integer |
getSourceJdbcDataType() |
String |
getTypeName() |
protected ColumnMetadata(String name, int jdbcDataType, String typeName, int columnSize, int decimalDigits, int radix, Boolean nullable, String description, String defaultValue, int length, int ordinalPosition, String scopeCatalogName, String scopeSchemaName, String scopeTableName, Integer sourceJdbcDataType)
public String getName()
DatabaseMetaData.getColumns(String, String, String, String)
result
set).public int getJdbcDataType()
Types
) (DATA_TYPE in the
DatabaseMetaData.getColumns(String, String, String, String)
result set).public String getTypeName()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public int getColumnSize()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public int getDecimalDigits()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public int getRadix()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public Boolean getNullable()
DatabaseMetaData.getColumns(String, String, String, String)
result set); null indicates that it cannot be
determined if the column allows NULLs.public String getDescription()
DatabaseMetaData.getColumns(String, String, String, String)
result
set).public String getDefaultValue()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public int getLength()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public int getOrdinalPosition()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public String getScopeCatalogName()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public String getScopeSchemaName()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public String getScopeTableName()
DatabaseMetaData.getColumns(String, String, String, String)
result set).public Integer getSourceJdbcDataType()
Types
) for REF columns (SOURCE_DATA_TYPE in the
DatabaseMetaData.getColumns(String, String, String, String)
result set).Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.