public class DDLOperation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DDLOperation.Type
Type of DDL Operation
|
| Constructor and Description |
|---|
DDLOperation(String databaseName,
String schemaName,
String tableName,
DDLOperation.Type type) |
| Modifier and Type | Method and Description |
|---|---|
static DDLOperation |
createRenameTableOperation(String databaseName,
String schemaName,
String prevTableName,
String tableName)
Create a rename table DDL operation.
|
boolean |
equals(Object o) |
String |
getDatabaseName() |
String |
getPrevTableName() |
String |
getSchemaName() |
String |
getTableName() |
DDLOperation.Type |
getType() |
int |
hashCode() |
public static DDLOperation createRenameTableOperation(String databaseName, @Nullable String schemaName, String prevTableName, String tableName)
prevTableName - previous name of the tabletableName - new name of the tableIllegalArgumentException - when either the prevTableName or tableName is nullpublic String getDatabaseName()
public DDLOperation.Type getType()
Copyright © 2021 CDAP Licensed under the Apache License, Version 2.0.