public class ColumnInfo
extends java.lang.Object
Constructor and Description |
---|
ColumnInfo(java.lang.String name,
int dataType)
Create a new instance.
|
ColumnInfo(java.lang.String name,
int dataType,
int colType,
int sqlType,
int scale)
Constructor for SP parameters
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnType()
A value of DatabaseMetaData.procedureColumnIn, DatabaseMetaData.procedureColumnInOut, DatabaseMetaData.procedureColumnOut,
DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult.
|
int |
getDataType()
The data type of this column.
|
java.lang.String |
getName()
The name of this column.
|
int |
getScale()
The SQL scale of the column.
|
int |
getSqlType()
The SQL type of the column.
|
public ColumnInfo(@Nonnull java.lang.String name, int dataType)
name
- the column namedataType
- the data type. One of #Field
constants.public ColumnInfo(@Nonnull java.lang.String name, int dataType, int colType, int sqlType, int scale)
name
- the column namedataType
- the data type. One of #Field
constants.colType
- a value of DatabaseMetaData.procedureColumn*sqlType
- The SQL type of the column. This is a constant from java.sql.Types.scale
- the SQL scale of the column@Nonnull public java.lang.String getName()
public int getDataType()
#Field
constants.public int getColumnType()
public int getSqlType()
public int getScale()
Copyright © 1999-2020 by i-net software GmbH