Modifier and Type | Class and Description |
---|---|
static class |
JoinChain.Edge |
static class |
JoinChain.Path |
Constructor and Description |
---|
JoinChain(AbstractBaseTable 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) |
boolean |
equals(Object o) |
String |
getDescription() |
String |
getDestTable()
Get final destination table
|
String |
getDisplayString() |
Set<String> |
getIntermediateDimensions()
Get all dimensions involved in paths, except destination table
|
String |
getName() |
List<JoinChain.Path> |
getPaths() |
List<JoinPath> |
getRelationEdges(CubeMetastoreClient client)
Convert join chain paths to JoinPath objects
|
Set<String> |
getSourceColumns()
Get all source columns from cube
|
int |
hashCode() |
String |
toString() |
public JoinChain(String name, String display, String description)
name
- display
- description
- public JoinChain(AbstractBaseTable 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<JoinPath> getRelationEdges(CubeMetastoreClient client) throws org.apache.hadoop.hive.ql.metadata.HiveException
client
- org.apache.hadoop.hive.ql.metadata.HiveException
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public String getName()
@Generated(value="lombok") public String getDisplayString()
@Generated(value="lombok") public String getDescription()
@Generated(value="lombok") public List<JoinChain.Path> getPaths()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.