| Modifier and Type | Field and Description |
|---|---|
| private String[] | |
| private int | |
| private int | |
| private String | tableName
This class implements Formatable. |
| private UUID | |
| private SchemaDescriptor |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ConstraintInfo(String tableName, SchemaDescriptor tableSd, String[] columnNames, int raDeleteRule, int raUpdateRule)
Consructor |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: array of referenced column namesImplements org. This ConsInfo describes columns in a referenced table. |
| public TableDescriptor | getReferencedTableDescriptor(DataDictionary
data dictionary to search for table dd)Implements org. This ConsInfo describes columns in a referenced table. |
| public String | Returns: referenced table nameImplements org. Get the name of the table that these column live in. |
| public SchemaDescriptor | getReferencedTableSchemaDescriptor(DataDictionary
data dictionary to search for schema dd)Implements org. This ConsInfo describes columns in a referenced table. |
| public int | Returns: referential Action Delete ruleImplements org. Get the referential Action for a Delete. |
| public int | Returns: referential Action for updateImplements org. Get the referential Action for an Update. |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| public void | readExternal(ObjectInput
read this. in)Implements java. Read this object from a stream of stored objects. |
| public String | |
| public void | writeExternal(ObjectOutput
write bytes here out)Implements java. Write this object out |
| columnNames | back to summary |
|---|---|
| private String[] columnNames | |
| raDeleteRule | back to summary |
|---|---|
| private int raDeleteRule | |
| raUpdateRule | back to summary |
|---|---|
| private int raUpdateRule | |
| tableName | back to summary |
|---|---|
| private String tableName 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. OR, since this is something that is used in stored prepared statements, it is ok to change it if you make sure that stored prepared statements are invalidated across releases. | |
| tableSchemaId | back to summary |
|---|---|
| private UUID tableSchemaId | |
| tableSd | back to summary |
|---|---|
| private SchemaDescriptor tableSd | |
| ConstraintInfo | back to summary |
|---|---|
| public ConstraintInfo() Niladic constructor for Formattable | |
| ConstraintInfo | back to summary |
|---|---|
| public ConstraintInfo(String tableName, SchemaDescriptor tableSd, String[] columnNames, int raDeleteRule, int raUpdateRule) Consructor | |
| getReferencedColumnNames | back to summary |
|---|---|
| public String[] getReferencedColumnNames() Implements org. This ConsInfo describes columns in a referenced table. What are their names?
| |
| getReferencedTableDescriptor | back to summary |
|---|---|
| public TableDescriptor getReferencedTableDescriptor(DataDictionary dd) throws StandardException Implements org. Doc from org. This ConsInfo describes columns in a referenced table. What is that table?
| |
| getReferencedTableName | back to summary |
|---|---|
| public String getReferencedTableName() Implements org. Get the name of the table that these column live in.
| |
| getReferencedTableSchemaDescriptor | back to summary |
|---|---|
| public SchemaDescriptor getReferencedTableSchemaDescriptor(DataDictionary dd) throws StandardException Implements org. Doc from org. This ConsInfo describes columns in a referenced table. What is the schema that the referenced table lives in?
| |
| getReferentialActionDeleteRule | back to summary |
|---|---|
| public int getReferentialActionDeleteRule() Implements org. Get the referential Action for a Delete.
| |
| getReferentialActionUpdateRule | back to summary |
|---|---|
| public int getReferentialActionUpdateRule() Implements org. Get the referential Action for an Update.
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object from a stream of stored objects.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this object out
| |