use of com.facebook.presto.sql.tree.TISStackableAstVisitor.StackableAstVisitorContext in project tis by qlangtech.
the class TableReferenceVisitor method visitJoin.
@Override
protected NodeProcessResult<?> visitJoin(Join node, StackableAstVisitorContext<Integer> context) {
final Type type = node.getType();
Relation left = node.getLeft();
processLeftOrRightRelation(context, left, null, null);
Relation right = node.getRight();
Optional<JoinOn> joinOn = node.getCriteria().filter(criteria -> criteria instanceof JoinOn).map(criteria -> (JoinOn) criteria);
processLeftOrRightRelation(context, right, joinOn, type);
return null;
}
Aggregations