public class TableChangesHelper extends Object
| Constructor and Description |
|---|
TableChangesHelper() |
| Modifier and Type | Method and Description |
|---|---|
static List<Types.Field> |
applyAddChange2Fields(List<Types.Field> fields,
ArrayList<Types.Field> adds,
ArrayList<TableChange.ColumnPositionChange> pchanges)
Apply add operation and column position change operation.
|
static String |
getLeafName(String fullColName) |
static String |
getParentName(String fullColName) |
public static List<Types.Field> applyAddChange2Fields(List<Types.Field> fields, ArrayList<Types.Field> adds, ArrayList<TableChange.ColumnPositionChange> pchanges)
fields - origin column fields.adds - column fields to be added.pchanges - a wrapper class hold all the position change operations.Copyright © 2024 The Apache Software Foundation. All rights reserved.