public class SchemaGraph extends Object
| Modifier and Type | Class and Description |
|---|---|
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 and Description |
|---|
SchemaGraph(CubeMetastoreClient metastore) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public SchemaGraph(CubeMetastoreClient metastore) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveExceptionpublic Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getCubeGraph(CubeInterface cube)
public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getDimOnlyGraph()
public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getCubeInGraph(CubeInterface cube)
public Map<AbstractCubeTable,Set<SchemaGraph.TableRelationship>> getDimOnlyInGraph()
public void print()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.