Interface ConsInfo
- All Superinterfaces:
Externalizable
,Formatable
,Serializable
,TypedFormat
- All Known Implementing Classes:
ConstraintInfo
This interface describes the columns in a referenced constraint. Added
to be the protocol version of ConstraintInfo.
- Version:
- 0.1
-
Method Summary
Modifier and TypeMethodDescriptionString[]
This ConsInfo describes columns in a referenced table.This ConsInfo describes columns in a referenced table.Get the name of the table that these column live in.This ConsInfo describes columns in a referenced table.int
Get the referential Action for a Delete.int
Get the referential Action for an Update.Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
Methods inherited from interface org.apache.derby.iapi.services.io.TypedFormat
getTypeFormatId
-
Method Details
-
getReferencedTableSchemaDescriptor
This ConsInfo describes columns in a referenced table. What is the schema that the referenced table lives in?- Parameters:
dd
- data dictionary to search for schema- Returns:
- schema that referenced table lives in
- Throws:
StandardException
- thrown on oops
-
getReferencedTableDescriptor
This ConsInfo describes columns in a referenced table. What is that table?- Parameters:
dd
- data dictionary to search for table- Returns:
- referenced table
- Throws:
StandardException
- thrown on oops
-
getReferencedColumnNames
String[] getReferencedColumnNames()This ConsInfo describes columns in a referenced table. What are their names?- Returns:
- array of referenced column names
-
getReferencedTableName
String getReferencedTableName()Get the name of the table that these column live in.- Returns:
- referenced table name
-
getReferentialActionUpdateRule
int getReferentialActionUpdateRule()Get the referential Action for an Update.- Returns:
- referential Action for update
-
getReferentialActionDeleteRule
int getReferentialActionDeleteRule()Get the referential Action for a Delete.- Returns:
- referential Action Delete rule
-