|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.ConstraintInfo
public class ConstraintInfo
This is a simple class used to store the run time information about a constraint.
| Field Summary | |
|---|---|
private java.lang.String[] |
columnNames
|
private int |
raDeleteRule
|
private int |
raUpdateRule
|
private java.lang.String |
tableName
This class implements Formatable. |
private UUID |
tableSchemaId
|
private SchemaDescriptor |
tableSd
|
| Constructor Summary | |
|---|---|
ConstraintInfo()
Niladic constructor for Formattable |
|
ConstraintInfo(java.lang.String tableName,
SchemaDescriptor tableSd,
java.lang.String[] columnNames,
int raDeleteRule,
int raUpdateRule)
Consructor |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getReferencedColumnNames()
This ConsInfo describes columns in a referenced table. |
TableDescriptor |
getReferencedTableDescriptor(DataDictionary dd)
This ConsInfo describes columns in a referenced table. |
java.lang.String |
getReferencedTableName()
Get the name of the table that these column live in. |
SchemaDescriptor |
getReferencedTableSchemaDescriptor(DataDictionary dd)
This ConsInfo describes columns in a referenced table. |
int |
getReferentialActionDeleteRule()
Get the referential Action for a Delete. |
int |
getReferentialActionUpdateRule()
Get the referential Action for an Update. |
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 out |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String tableName
private SchemaDescriptor tableSd
private UUID tableSchemaId
private java.lang.String[] columnNames
private int raDeleteRule
private int raUpdateRule
| Constructor Detail |
|---|
public ConstraintInfo()
public ConstraintInfo(java.lang.String tableName,
SchemaDescriptor tableSd,
java.lang.String[] columnNames,
int raDeleteRule,
int raUpdateRule)
| Method Detail |
|---|
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here
java.io.IOException - thrown on error
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.
java.io.IOException - thrown on error
java.lang.ClassNotFoundException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic java.lang.String toString()
toString in class java.lang.Object
public SchemaDescriptor getReferencedTableSchemaDescriptor(DataDictionary dd)
throws StandardException
ConsInfo
getReferencedTableSchemaDescriptor in interface ConsInfodd - data dictionary to search for schema
StandardException - thrown on oops
public TableDescriptor getReferencedTableDescriptor(DataDictionary dd)
throws StandardException
ConsInfo
getReferencedTableDescriptor in interface ConsInfodd - data dictionary to search for table
StandardException - thrown on oopspublic java.lang.String[] getReferencedColumnNames()
getReferencedColumnNames in interface ConsInfopublic java.lang.String getReferencedTableName()
getReferencedTableName in interface ConsInfopublic int getReferentialActionUpdateRule()
getReferentialActionUpdateRule in interface ConsInfopublic int getReferentialActionDeleteRule()
getReferentialActionDeleteRule in interface ConsInfo
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||