public abstract class AbstractBaseTable extends AbstractCubeTable
| Constructor and Description |
|---|
AbstractBaseTable(String name,
Set<ExprColumn> exprs,
Set<JoinChain> joinChains,
Map<String,String> properties,
double weight) |
AbstractBaseTable(org.apache.hadoop.hive.ql.metadata.Table tbl) |
| Modifier and Type | Method and Description |
|---|---|
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) |
Map<String,JoinChain> |
getChainMap() |
CubeColumn |
getColumnByName(String column) |
ExprColumn |
getExpressionByName(String exprName) |
Set<String> |
getExpressionNames() |
Set<ExprColumn> |
getExpressions() |
Map<String,ExprColumn> |
getExprMap() |
Set<String> |
getJoinChainNames() |
Set<JoinChain> |
getJoinChains() |
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) |
addProperties, alterWeight, getColumns, getName, getProperties, getTableType, getWeight, removeProperty, toString, weightpublic 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)
public Set<String> getStorages()
getStorages in class AbstractCubeTablepublic void addProperties()
public int hashCode()
hashCode in class AbstractCubeTablepublic boolean equals(Object obj)
equals in class AbstractCubeTablepublic 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.HiveExceptionpublic void removeExpression(String exprName)
exprName - public Set<ExprColumn> getExpressions()
public Set<String> getAllFieldNames()
getAllFieldNames in class AbstractCubeTablepublic void alterJoinChain(JoinChain joinchain) throws org.apache.hadoop.hive.ql.metadata.HiveException
joinchain - org.apache.hadoop.hive.ql.metadata.HiveExceptionpublic boolean removeJoinChain(String chainName)
chainName - @Generated(value="lombok") public Map<String,ExprColumn> getExprMap()
@Generated(value="lombok") public Map<String,JoinChain> getChainMap()
@Generated(value="lombok") public Set<JoinChain> getJoinChains()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.