| java.lang.Object org.apache.derby.impl.sql.catalog.SystemColumnImpl
SystemColumnImpl | class SystemColumnImpl implements SystemColumn(Code) | | Implements the description of a column in a system table.
version: 0.1 author: Rick Hillegas |
Constructor Summary | |
| SystemColumnImpl(String name, int id, boolean nullability, String dataType, boolean builtInType, int maxLength) Constructor to create a description of a column in a system table. | | SystemColumnImpl(String name, int id, int ignoreP, int ignoreS, boolean nullability, String dataType, boolean builtInType, int maxLength) | | SystemColumnImpl(String name, int id, boolean nullability) Constructor to create a description of a column in a system table. |
Method Summary | |
static SystemColumn | getColumn(String name, int jdbcTypeId, boolean nullability) Create a system column for a builtin type. | static SystemColumn | getColumn(String name, int jdbcTypeId, boolean nullability, int maxLength) Create a system column for a builtin type. | static SystemColumn | getIdentifierColumn(String name, boolean nullability) Create a system column for an identifer with consistent type of
VARCHAR(128)
Parameters: name - Name of the column. Parameters: nullability - Nullability of the column. | static SystemColumn | getIndicatorColumn(String name) Create a system column for a character representation of an indicator
column with consistent type of CHAR(1) NOT NULL
Parameters: name - Name of the column. | static SystemColumn | getJavaColumn(String name, String javaClassName, boolean nullability) Create a system column for a java column.
Parameters: name - Name of the column. Parameters: javaClassName - Parameters: nullability - Nullability of the column. | public String | getName() Gets the name of this column. | public DataTypeDescriptor | getType() Return the type of this column. | static SystemColumn | getUUIDColumn(String name, boolean nullability) Create a system column for a character representation of a UUID with
consistent type of CHAR(36)
Parameters: name - Name of the column. Parameters: nullability - Nullability of the column. |
SystemColumnImpl | SystemColumnImpl(String name, int id, boolean nullability, String dataType, boolean builtInType, int maxLength)(Code) | | Constructor to create a description of a column in a system table.
Parameters: name - of column. Parameters: id - of column. Parameters: nullability - Whether or not column accepts nulls. Parameters: dataType - Datatype of column. Parameters: maxLength - Maximum length of data in column. |
SystemColumnImpl | SystemColumnImpl(String name, int id, int ignoreP, int ignoreS, boolean nullability, String dataType, boolean builtInType, int maxLength)(Code) | | |
SystemColumnImpl | SystemColumnImpl(String name, int id, boolean nullability)(Code) | | Constructor to create a description of a column in a system table.
This constructor is used for SQL Identifiers (varchar 128).
Parameters: name - of column. Parameters: id - of column. Parameters: nullability - Whether or not column accepts nulls. |
getColumn | static SystemColumn getColumn(String name, int jdbcTypeId, boolean nullability)(Code) | | Create a system column for a builtin type.
Parameters: name - name of column Parameters: jdbcTypeId - JDBC type id from java.sql.Types Parameters: nullability - Whether or not column accepts nulls. |
getColumn | static SystemColumn getColumn(String name, int jdbcTypeId, boolean nullability, int maxLength)(Code) | | Create a system column for a builtin type.
Parameters: name - name of column Parameters: jdbcTypeId - JDBC type id from java.sql.Types Parameters: nullability - Whether or not column accepts nulls. |
getIdentifierColumn | static SystemColumn getIdentifierColumn(String name, boolean nullability)(Code) | | Create a system column for an identifer with consistent type of
VARCHAR(128)
Parameters: name - Name of the column. Parameters: nullability - Nullability of the column. Object representing the column. |
getIndicatorColumn | static SystemColumn getIndicatorColumn(String name)(Code) | | Create a system column for a character representation of an indicator
column with consistent type of CHAR(1) NOT NULL
Parameters: name - Name of the column. Object representing the column. |
getJavaColumn | static SystemColumn getJavaColumn(String name, String javaClassName, boolean nullability)(Code) | | Create a system column for a java column.
Parameters: name - Name of the column. Parameters: javaClassName - Parameters: nullability - Nullability of the column. Object representing the column. |
getName | public String getName()(Code) | | Gets the name of this column.
The column name. |
getUUIDColumn | static SystemColumn getUUIDColumn(String name, boolean nullability)(Code) | | Create a system column for a character representation of a UUID with
consistent type of CHAR(36)
Parameters: name - Name of the column. Parameters: nullability - Nullability of the column. Object representing the column. |
|
|