org.apache.lens.cube.metadata
Class SchemaGraph.JoinPath
java.lang.Object
org.apache.lens.cube.metadata.SchemaGraph.JoinPath
- Enclosing class:
- SchemaGraph
public static class SchemaGraph.JoinPath
- extends Object
A list of table relationships that can be combined to get a join clause
SchemaGraph.JoinPath
public SchemaGraph.JoinPath()
SchemaGraph.JoinPath
public SchemaGraph.JoinPath(SchemaGraph.JoinPath other)
initColumnsForTable
public void initColumnsForTable()
addEdge
public void addEdge(SchemaGraph.TableRelationship edge)
isEmpty
public boolean isEmpty()
getEdges
public List<SchemaGraph.TableRelationship> getEdges()
getColumnsForTable
public List<String> getColumnsForTable(AbstractCubeTable table)
getAllTables
public Set<AbstractCubeTable> getAllTables()
containsColumnOfTable
public boolean containsColumnOfTable(String column,
AbstractCubeTable table)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.