public class TableColumn extends Column
Modifier and Type | Field and Description |
---|---|
protected Pair3<Long,Long,String> |
endPosition |
protected String |
name |
protected Pair3<Long,Long,String> |
startPosition |
Constructor and Description |
---|
TableColumn(Table table,
TConstant columnObject) |
TableColumn(Table table,
TConstant columnObject,
int columnIndex) |
TableColumn(Table table,
TExpression columnObject,
int columnIndex) |
TableColumn(Table table,
TFunctionCall columnObject) |
TableColumn(Table table,
TObjectName columnObject) |
TableColumn(Table view,
TObjectName columnObject,
int index) |
appendStarSourceColumn, getStarSourceColumns
protected Pair3<Long,Long,String> startPosition
protected Pair3<Long,Long,String> endPosition
public TableColumn(Table view, TObjectName columnObject, int index)
public TableColumn(Table table, TObjectName columnObject)
public TableColumn(Table table, TConstant columnObject, int columnIndex)
public TableColumn(Table table, TConstant columnObject)
public TableColumn(Table table, TFunctionCall columnObject)
public TableColumn(Table table, TExpression columnObject, int columnIndex)
protected boolean supportProperty()
protected String getColumnName(TExpression expr)
public long getId()
public Pair3<Long,Long,String> getStartPosition()
public Pair3<Long,Long,String> getEndPosition()
public TObjectName getColumnObject()
public void bindStarLinkColumns(Map<String,Set<TObjectName>> starLinkColumns)
public Map<String,Set<TObjectName>> getStarLinkColumns()
public boolean hasStarLinkColumn()
public boolean bindStarLinkColumn(TObjectName objectName)
bindStarLinkColumn
in class Column
public List<TObjectName> getStarLinkColumnList()
getStarLinkColumnList
in class Column
public List<String> getStarLinkColumnNames()
public boolean isShowStar()
public void setShowStar(boolean showStar)
public Integer getColumnIndex()
public boolean isVariant()
public void setVariant(boolean isVariant)
public String getDisplayName()
public void setDisplayName(String displayName)
public void setExpandStar(boolean expandStar)
public boolean isExpandStar()
public boolean isPseduo()
public void setPseduo(boolean isPseduo)
public void notBindStarLinkColumn(boolean notBindStarColumn)
public boolean isNotBindStarLinkColumn()
public Boolean getPrimaryKey()
public void setPrimaryKey(Boolean primaryKey)
public Boolean getUnqiueKey()
public void setUnqiueKey(Boolean unqiueKey)
public Boolean getIndexKey()
public void setIndexKey(Boolean indexKey)
public Boolean getForeignKey()
public void setForeignKey(Boolean foreignKey)
public String getDataType()
public void setDataType(String dataType)
public void setColumnIndex(int columnIndex)
public boolean isStruct()
public void setStruct(boolean isStruct)
public Transform getTransform()
public void setTransform(Transform transform)
public List<Object> getCandidateParents()
public void setCandidateParents(List<Object> candidateParents)