public abstract static class TableChange.BaseColumnChange extends Object implements TableChange
TableChange.BaseColumnChange, TableChange.ColumnChangeID, TableChange.ColumnPositionChange| Modifier and Type | Field and Description |
|---|---|
protected boolean |
caseSensitive |
protected Map<Integer,Integer> |
id2parent |
protected InternalSchema |
internalSchema |
protected Map<Integer,ArrayList<TableChange.ColumnPositionChange>> |
positionChangeMap |
| Modifier and Type | Method and Description |
|---|---|
TableChange.BaseColumnChange |
addPositionChange(String srcName,
String dsrName,
String orderType) |
TableChange.BaseColumnChange |
addPositionChange(String srcName,
String dsrName,
TableChange.ColumnPositionChange.ColumnPositionType orderType)
Add position change.
|
protected void |
checkColModifyIsLegal(String colNeedToModify) |
protected abstract Integer |
findIdByFullName(String fullName)
Abstract method.
|
boolean |
withPositionChange() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcolumnChangeId, fromValueprotected final InternalSchema internalSchema
protected final Map<Integer,ArrayList<TableChange.ColumnPositionChange>> positionChangeMap
protected final boolean caseSensitive
public TableChange.BaseColumnChange addPositionChange(String srcName, String dsrName, TableChange.ColumnPositionChange.ColumnPositionType orderType)
srcName - column which need to be reordereddsrName - reference positionorderType - change typespublic TableChange.BaseColumnChange addPositionChange(String srcName, String dsrName, String orderType)
protected abstract Integer findIdByFullName(String fullName)
fullName - column fullNameprotected void checkColModifyIsLegal(String colNeedToModify)
public boolean withPositionChange()
withPositionChange in interface TableChangeCopyright © 2024 The Apache Software Foundation. All rights reserved.