|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.ColumnInfo
public class ColumnInfo
This is the Column descriptor that is passed from Compilation to Execution for CREATE TABLE statements.
Field Summary | |
---|---|
int |
action
This class implements Formatable. |
long |
autoinc_create_or_modify_Start_Increment
|
long |
autoincInc
|
long |
autoincStart
|
static int |
CREATE
|
DataTypeDescriptor |
dataType
|
DefaultInfo |
defaultInfo
|
DataValueDescriptor |
defaultValue
|
static int |
DROP
|
static int |
MODIFY_COLUMN_CONSTRAINT
|
static int |
MODIFY_COLUMN_CONSTRAINT_NOT_NULL
|
static int |
MODIFY_COLUMN_DEFAULT_INCREMENT
|
static int |
MODIFY_COLUMN_DEFAULT_RESTART
|
static int |
MODIFY_COLUMN_DEFAULT_VALUE
|
static int |
MODIFY_COLUMN_TYPE
|
java.lang.String |
name
|
UUID |
newDefaultUUID
|
UUID |
oldDefaultUUID
|
ProviderInfo[] |
providers
|
Constructor Summary | |
---|---|
ColumnInfo()
Public niladic constructor. |
|
ColumnInfo(java.lang.String name,
DataTypeDescriptor dataType,
DataValueDescriptor defaultValue,
DefaultInfo defaultInfo,
ProviderInfo[] providers,
UUID newDefaultUUID,
UUID oldDefaultUUID,
int action,
long autoincStart,
long autoincInc,
long autoinc_create_or_modify_Start_Increment)
Make one of these puppies. |
Method Summary | |
---|---|
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int action
public java.lang.String name
public DataTypeDescriptor dataType
public DefaultInfo defaultInfo
public ProviderInfo[] providers
public DataValueDescriptor defaultValue
public UUID newDefaultUUID
public UUID oldDefaultUUID
public long autoincStart
public long autoincInc
public long autoinc_create_or_modify_Start_Increment
public static final int CREATE
public static final int DROP
public static final int MODIFY_COLUMN_TYPE
public static final int MODIFY_COLUMN_CONSTRAINT
public static final int MODIFY_COLUMN_CONSTRAINT_NOT_NULL
public static final int MODIFY_COLUMN_DEFAULT_RESTART
public static final int MODIFY_COLUMN_DEFAULT_INCREMENT
public static final int MODIFY_COLUMN_DEFAULT_VALUE
Constructor Detail |
---|
public ColumnInfo()
public ColumnInfo(java.lang.String name, DataTypeDescriptor dataType, DataValueDescriptor defaultValue, DefaultInfo defaultInfo, ProviderInfo[] providers, UUID newDefaultUUID, UUID oldDefaultUUID, int action, long autoincStart, long autoincInc, long autoinc_create_or_modify_Start_Increment)
name
- Column name.dataType
- Column type.defaultValue
- Column default value.defaultInfo
- Column default info.providers
- Array of providers that this column depends on.newDefaultUUID
- New UUID for default.oldDefaultUUID
- Old UUID for default.action
- Action (create, modify default, etc.)autoincStart
- Start of autoincrement values.autoincInc
- Increment of autoincrement values-- if parameter
is 0, it implies that this is not an autoincrement
value.Method Detail |
---|
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- read this.
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- write bytes here.
java.io.IOException
- thrown on errorpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public java.lang.String toString()
toString
in class java.lang.Object
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |