| Modifier and Type | Class and Description |
|---|---|
static class |
JoinChain.Edge |
static class |
JoinChain.Path |
| Constructor and Description |
|---|
JoinChain(AbstractCubeTable table,
String name)
This is used only for serializing
|
JoinChain(JoinChain other)
Copy constructor for JoinChain
|
JoinChain(String name,
String display,
String description)
Construct join chain
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(List<TableReference> refs) |
void |
addProperties(AbstractCubeTable tbl) |
void |
addProperties(Cube cube) |
void |
addProperties(Dimension dimension) |
String |
getDestTable()
Get final destination table
|
Set<String> |
getIntermediateDimensions()
Get all dimensions involved in paths, except destination table
|
List<SchemaGraph.JoinPath> |
getRelationEdges(CubeMetastoreClient client)
Convert join paths to schemaGraph's JoinPath
|
Set<String> |
getSourceColumns()
Get all source columns from cube
|
public JoinChain(String name, String display, String description)
name - display - description - public JoinChain(AbstractCubeTable table, String name)
table - name - public JoinChain(JoinChain other)
other - JoinChainpublic void addProperties(AbstractCubeTable tbl)
public void addProperties(Cube cube)
public void addProperties(Dimension dimension)
public void addPath(List<TableReference> refs)
public String getDestTable()
public Set<String> getIntermediateDimensions()
public List<SchemaGraph.JoinPath> getRelationEdges(CubeMetastoreClient client) throws org.apache.hadoop.hive.ql.metadata.HiveException
client - org.apache.hadoop.hive.ql.metadata.HiveExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.