public class AlterTableAddConstraintOperation extends DDLOperation<AlterTableAddConstraintDesc>
context, desc, LOG| Constructor and Description |
|---|
AlterTableAddConstraintOperation(DDLOperationContext context,
AlterTableAddConstraintDesc desc) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addConstraints(AbstractAlterTableWithConstraintsDesc desc,
Hive db) |
int |
execute() |
public AlterTableAddConstraintOperation(DDLOperationContext context, AlterTableAddConstraintDesc desc)
public int execute()
throws Exception
execute in class DDLOperation<AlterTableAddConstraintDesc>Exceptionpublic static void addConstraints(AbstractAlterTableWithConstraintsDesc desc, Hive db) throws HiveException
HiveExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.