Package uk.ac.starlink.table.jdbc
Class JDBCFormatter.SqlColumn
java.lang.Object
uk.ac.starlink.table.jdbc.JDBCFormatter.SqlColumn
- Enclosing class:
JDBCFormatter
Describes a column as it will be written to a table in an RDBMS.
-
Method Summary
Modifier and TypeMethodDescriptionName used for the column.int
Returns the SQL type code for this column.Type specification as used in CREATE statement.
-
Method Details
-
getSqlType
public int getSqlType()Returns the SQL type code for this column.- Returns:
- symbolic integer from
Types
-
getColumnName
Name used for the column.- Returns:
- column name
-
getTypeSpec
Type specification as used in CREATE statement.- Returns:
- column type specification
-