public class OperationConverterUtils extends Object
Modifier and Type | Method and Description |
---|---|
static TableSchema |
changeColumn(TableSchema oldSchema,
String oldName,
TableColumn newTableColumn,
boolean first,
String after) |
static Operation |
convertAddReplaceColumns(ObjectIdentifier tableIdentifier,
SqlAddReplaceColumns addReplaceColumns,
CatalogTable catalogTable,
org.apache.calcite.sql.validate.SqlValidator sqlValidator) |
static Operation |
convertChangeColumn(ObjectIdentifier tableIdentifier,
SqlChangeColumn changeColumn,
CatalogTable catalogTable,
org.apache.calcite.sql.validate.SqlValidator sqlValidator) |
static Map<String,String> |
extractProperties(org.apache.calcite.sql.SqlNodeList propList) |
public static Operation convertAddReplaceColumns(ObjectIdentifier tableIdentifier, SqlAddReplaceColumns addReplaceColumns, CatalogTable catalogTable, org.apache.calcite.sql.validate.SqlValidator sqlValidator)
public static Operation convertChangeColumn(ObjectIdentifier tableIdentifier, SqlChangeColumn changeColumn, CatalogTable catalogTable, org.apache.calcite.sql.validate.SqlValidator sqlValidator)
public static TableSchema changeColumn(TableSchema oldSchema, String oldName, TableColumn newTableColumn, boolean first, String after)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.