| java.lang.Object org.apache.derby.impl.sql.execute.ColumnInfo
ColumnInfo | public class ColumnInfo implements Formatable(Code) | | This is the Column descriptor that is passed from Compilation to Execution
for CREATE TABLE statements.
version: 0.1 author: Rick Hillegas |
CREATE | final public static int CREATE(Code) | | |
DROP | final public static int DROP(Code) | | |
MODIFY_COLUMN_CONSTRAINT | final public static int MODIFY_COLUMN_CONSTRAINT(Code) | | |
MODIFY_COLUMN_CONSTRAINT_NOT_NULL | final public static int MODIFY_COLUMN_CONSTRAINT_NOT_NULL(Code) | | |
MODIFY_COLUMN_DEFAULT_INCREMENT | final public static int MODIFY_COLUMN_DEFAULT_INCREMENT(Code) | | |
MODIFY_COLUMN_DEFAULT_RESTART | final public static int MODIFY_COLUMN_DEFAULT_RESTART(Code) | | |
MODIFY_COLUMN_TYPE | final public static int MODIFY_COLUMN_TYPE(Code) | | |
action | public int action(Code) | | This class implements Formatable. That means that it
can write itself to and from a formatted stream. If
you add more fields to this class, make sure that you
also write/read them with the writeExternal()/readExternal()
methods.
If, inbetween releases, you add more fields to this class,
then you should bump the version number emitted by the getTypeFormatId()
method.
|
autoincInc | public long autoincInc(Code) | | |
autoincStart | public long autoincStart(Code) | | |
autoinc_create_or_modify_Start_Increment | public long autoinc_create_or_modify_Start_Increment(Code) | | |
ColumnInfo | public ColumnInfo()(Code) | | Public niladic constructor. Needed for Formatable interface to work.
|
ColumnInfo | public ColumnInfo(String name, DataTypeDescriptor dataType, DataValueDescriptor defaultValue, DefaultInfo defaultInfo, UUID newDefaultUUID, UUID oldDefaultUUID, int action, long autoincStart, long autoincInc, long autoinc_create_or_modify_Start_Increment)(Code) | | Make one of these puppies.
Parameters: name - Column name. Parameters: dataType - Column type. Parameters: defaultValue - Column default value. Parameters: defaultInfo - Column default info. Parameters: newDefaultUUID - New UUID for default. Parameters: oldDefaultUUID - Old UUID for default. Parameters: action - Action (create, modify default, etc.) Parameters: autoincStart - Start of autoincrement values. Parameters: autoincInc - Increment of autoincrement values-- if parameteris 0, it implies that this is not an autoincrementvalue. |
getTypeFormatId | public int getTypeFormatId()(Code) | | Get the formatID which corresponds to this class.
the formatID of this class |
writeExternal | public void writeExternal(ObjectOutput out) throws IOException(Code) | | Write this object to a stream of stored objects.
Parameters: out - write bytes here. exception: IOException - thrown on error |
|
|