@Test void should_return_alias_if_aliased() { Relation relation = new Relation(qualifiedName("test"), "t"); assertEquals("t", relation.getTableNameOrAlias()); }
public String getTableNameOrAlias() { return (alias == null) ? getTableName() : alias; }
Relation extends UnresolvedPlan { public String getTableNameOrAlias() { return (alias == null) ? getTableName() : alias; } }
Relation extends UnresolvedPlan { public String getTableNameOrAlias() { return (alias == null) ? getTableName() : alias; }  }
Relation extends UnresolvedPlan { public String getTableNameOrAlias() { return (alias == null) ? getTableName() : alias; }  String getTableName(); String getTableNameOrAlias(); @Override List<UnresolvedPlan> getChild(); @Override T accept(AbstractNodeVisitor<T, C> nodeVisitor, C context); @Override UnresolvedPlan attach(UnresolvedPlan child); }
Relation extends UnresolvedPlan { public String getTableNameOrAlias() { return (alias == null) ? getTableName() : alias; }  String getTableName(); String getTableNameOrAlias(); @Override List<UnresolvedPlan> getChild(); @Override T accept(AbstractNodeVisitor<T, C> nodeVisitor, C context); @Override UnresolvedPlan attach(UnresolvedPlan child);  }