protected ReferencedKeyConstraintDescriptor(int constraintType,
DataDictionary dataDictionary,
TableDescriptor table,
String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] columns,
UUID constraintId,
UUID indexId,
SchemaDescriptor schemaDesc,
boolean isEnabled,
int referenceCount) {
super(dataDictionary, table, constraintName, deferrable,
initiallyDeferred, columns,
constraintId, indexId, schemaDesc, isEnabled);
this.referenceCount = referenceCount;
this.constraintType = constraintType;
}
Constructor for a KeyConstraintDescriptorImpl Parameters:
constraintType - The type of the constraint
dataDictionary - The data dictionary that this descriptor lives in
table - The descriptor of the table the constraint is on
constraintName - The name of the constraint.
deferrable - If the constraint can be deferred.
initiallyDeferred - If the constraint starts life deferred.
columns - columns involved in the constraint
constraintId - UUID of constraint
indexId - The UUID for the backing index
schemaDesc - The SchemaDescriptor for the constraint
isEnabled - is the constraint enabled?
referenceCount - number of FKs (enabled only)
|