public class ResultColumnRelationshipElement extends Object implements RelationshipElement<ResultColumn>
| Constructor and Description |
|---|
ResultColumnRelationshipElement(ResultColumn column) |
ResultColumnRelationshipElement(ResultColumn column,
ESqlClause relationLocation) |
ResultColumnRelationshipElement(ResultColumn column,
ESqlClause relationLocation,
TObjectName referenceObject) |
ResultColumnRelationshipElement(ResultColumn column,
int starIndex) |
ResultColumnRelationshipElement(ResultColumn column,
TObjectName columnName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransform(String type,
TParseTreeNode code) |
boolean |
equals(Object obj) |
TObjectName |
getColumnName() |
ResultColumn |
getElement() |
Pair3<Long,Long,String> |
getReferenceEndPosition() |
Pair3<Long,Long,String> |
getReferenceStartPosition() |
ESqlClause |
getRelationLocation() |
int |
getStarIndex() |
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 result column's select-list definition span.
|
void |
setStarIndex(int starIndex) |
public ResultColumnRelationshipElement(ResultColumn column)
public ResultColumnRelationshipElement(ResultColumn column, int starIndex)
public ResultColumnRelationshipElement(ResultColumn column, TObjectName columnName)
public ResultColumnRelationshipElement(ResultColumn column, ESqlClause relationLocation)
public ResultColumnRelationshipElement(ResultColumn column, ESqlClause relationLocation, TObjectName referenceObject)
public void setReferencePosition(TObjectName referenceObject)
public Pair3<Long,Long,String> getReferenceStartPosition()
public Pair3<Long,Long,String> getReferenceEndPosition()
public ResultColumn getElement()
getElement in interface RelationshipElement<ResultColumn>public ESqlClause getRelationLocation()
public TObjectName getColumnName()
public List<Transform> getTransforms()
getTransforms in interface RelationshipElement<ResultColumn>public void addTransform(String type, TParseTreeNode code)
addTransform in interface RelationshipElement<ResultColumn>public int getStarIndex()
public void setStarIndex(int starIndex)