|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.cube.metadata.JoinChain
public class JoinChain
Nested Class Summary | |
---|---|
static class |
JoinChain.Edge
|
static class |
JoinChain.Path
|
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.lens.cube.metadata.Named |
---|
getName |
Constructor Detail |
---|
public JoinChain(String name, String display, String description)
name
- display
- description
- public JoinChain(AbstractCubeTable table, String name)
table
- name
- public JoinChain(JoinChain other)
other
- JoinChainMethod Detail |
---|
public 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> getSourceColumns()
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.HiveException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |