public class AlterTableAddConstraintOperation extends AlterTableOperation
Note: only primary key is supported now.
tableIdentifier
Constructor and Description |
---|
AlterTableAddConstraintOperation(ObjectIdentifier tableIdentifier,
String constraintName,
String[] columnNames) |
Modifier and Type | Method and Description |
---|---|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
String[] |
getColumnNames() |
Optional<String> |
getConstraintName() |
getTableIdentifier
public AlterTableAddConstraintOperation(ObjectIdentifier tableIdentifier, @Nullable String constraintName, String[] columnNames)
public String[] getColumnNames()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.