org.apache.lens.cube.metadata
Class SchemaGraph

java.lang.Object
  extended by org.apache.lens.cube.metadata.SchemaGraph

public class SchemaGraph
extends Object


Nested Class Summary
static class SchemaGraph.GraphSearch
          Perform a search for join paths on the schema graph
static class SchemaGraph.JoinPath
          A list of table relationships that can be combined to get a join clause
static class SchemaGraph.TableRelationship
           
 
Constructor Summary
SchemaGraph(CubeMetastoreClient metastore)
           
 
Method Summary
 Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getCubeGraph(CubeInterface cube)
           
 Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getCubeInGraph(CubeInterface cube)
           
 Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getDimOnlyGraph()
           
 Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getDimOnlyInGraph()
           
 void print()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaGraph

public SchemaGraph(CubeMetastoreClient metastore)
            throws org.apache.hadoop.hive.ql.metadata.HiveException
Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
Method Detail

getCubeGraph

public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getCubeGraph(CubeInterface cube)

getDimOnlyGraph

public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getDimOnlyGraph()

getCubeInGraph

public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getCubeInGraph(CubeInterface cube)

getDimOnlyInGraph

public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getDimOnlyInGraph()

print

public void print()


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.