|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.cube.metadata.AbstractCubeTable org.apache.lens.cube.metadata.AbstractBaseTable
public abstract class AbstractBaseTable
Abstract table with expressions
Field Summary |
---|
Fields inherited from class org.apache.lens.cube.metadata.AbstractCubeTable |
---|
LOG |
Constructor Summary | |
---|---|
AbstractBaseTable(String name,
Set<ExprColumn> exprs,
Set<JoinChain> joinChains,
Map<String,String> properties,
double weight)
|
|
AbstractBaseTable(org.apache.hadoop.hive.ql.metadata.Table tbl)
|
Method Summary | |
---|---|
void |
addProperties()
|
void |
alterExpression(ExprColumn expr)
Alters the expression if already existing or just adds if it is new expression. |
void |
alterJoinChain(JoinChain joinchain)
Alters the joinchain if already existing or just adds if it is new chain |
boolean |
equals(Object obj)
|
Set<String> |
getAllFieldNames()
|
JoinChain |
getChainByName(String name)
|
CubeColumn |
getColumnByName(String column)
|
ExprColumn |
getExpressionByName(String exprName)
|
Set<String> |
getExpressionNames()
|
Set<ExprColumn> |
getExpressions()
|
Set<String> |
getJoinChainNames()
|
Set<JoinChain> |
getJoinChains()
Get join chains from properties |
Set<String> |
getStorages()
|
int |
hashCode()
|
void |
removeExpression(String exprName)
Remove the measure with name specified |
boolean |
removeJoinChain(String chainName)
Remove the joinchain with name specified |
void |
setJoinChainProperties(Set<JoinChain> chains)
|
Methods inherited from class org.apache.lens.cube.metadata.AbstractCubeTable |
---|
addProperties, alterWeight, getColumns, getName, getProperties, getTableType, getWeight, removeProperty, toString, weight |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractBaseTable(String name, Set<ExprColumn> exprs, Set<JoinChain> joinChains, Map<String,String> properties, double weight)
public AbstractBaseTable(org.apache.hadoop.hive.ql.metadata.Table tbl)
Method Detail |
---|
public Set<String> getStorages()
getStorages
in class AbstractCubeTable
public void addProperties()
public int hashCode()
hashCode
in class AbstractCubeTable
public boolean equals(Object obj)
equals
in class AbstractCubeTable
public ExprColumn getExpressionByName(String exprName)
public CubeColumn getColumnByName(String column)
public void alterExpression(ExprColumn expr) throws org.apache.hadoop.hive.ql.metadata.HiveException
expr
-
org.apache.hadoop.hive.ql.metadata.HiveException
public void removeExpression(String exprName)
exprName
- public Set<String> getExpressionNames()
public Set<ExprColumn> getExpressions()
public Set<String> getAllFieldNames()
getAllFieldNames
in class AbstractCubeTable
public void setJoinChainProperties(Set<JoinChain> chains)
public void alterJoinChain(JoinChain joinchain) throws org.apache.hadoop.hive.ql.metadata.HiveException
joinchain
-
org.apache.hadoop.hive.ql.metadata.HiveException
public JoinChain getChainByName(String name)
public Set<JoinChain> getJoinChains()
public Set<String> getJoinChainNames()
public boolean removeJoinChain(String chainName)
chainName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |