This project has retired. For details please refer to its Attic page.
SchemaGraph.JoinPath (Lens 2.0.1-beta-incubating API)

org.apache.lens.cube.metadata
Class SchemaGraph.JoinPath

java.lang.Object
  extended by 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


Constructor Summary
SchemaGraph.JoinPath()
           
SchemaGraph.JoinPath(SchemaGraph.JoinPath other)
           
 
Method Summary
 void addEdge(SchemaGraph.TableRelationship edge)
           
 boolean containsColumnOfTable(String column, AbstractCubeTable table)
           
 Set<AbstractCubeTable> getAllTables()
           
 List<String> getColumnsForTable(AbstractCubeTable table)
           
 List<SchemaGraph.TableRelationship> getEdges()
           
 void initColumnsForTable()
           
 boolean isEmpty()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaGraph.JoinPath

public SchemaGraph.JoinPath()

SchemaGraph.JoinPath

public SchemaGraph.JoinPath(SchemaGraph.JoinPath other)
Method Detail

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.