public class TableColumnRelationshipElement extends Object implements RelationshipElement<TableColumn>
| Constructor and Description |
|---|
TableColumnRelationshipElement(TableColumn column) |
TableColumnRelationshipElement(TableColumn column,
ESqlClause relationLocation) |
TableColumnRelationshipElement(TableColumn column,
ESqlClause relationLocation,
TObjectName referenceObject) |
TableColumnRelationshipElement(TableColumn column,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransform(String type,
TParseTreeNode code) |
boolean |
equals(Object obj) |
Integer |
getColumnIndex() |
TableColumn |
getElement() |
Pair3<Long,Long,String> |
getReferenceEndPosition() |
Pair3<Long,Long,String> |
getReferenceStartPosition() |
ESqlClause |
getRelationLocation() |
String |
getTableAlias() |
List<Transform> |
getTransforms() |
int |
hashCode() |
void |
setReferencePosition(TObjectName referenceObject)
Records the span of the object name this relation was built from, so the
serialized source can point at the reference site (the ON/WHERE operand)
instead of the shared column model's definition site.
|
public TableColumnRelationshipElement(TableColumn column)
public TableColumnRelationshipElement(TableColumn column, int index)
public TableColumnRelationshipElement(TableColumn column, ESqlClause relationLocation)
public TableColumnRelationshipElement(TableColumn column, ESqlClause relationLocation, TObjectName referenceObject)
public void setReferencePosition(TObjectName referenceObject)
public Pair3<Long,Long,String> getReferenceStartPosition()
public Pair3<Long,Long,String> getReferenceEndPosition()
public TableColumn getElement()
getElement in interface RelationshipElement<TableColumn>public ESqlClause getRelationLocation()
public Integer getColumnIndex()
public List<Transform> getTransforms()
getTransforms in interface RelationshipElement<TableColumn>public void addTransform(String type, TParseTreeNode code)
addTransform in interface RelationshipElement<TableColumn>public String getTableAlias()