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 expression with name specified
|
boolean |
removeJoinChain(String chainName)
Remove the join chain with name specified
|
void |
setJoinChainProperties(Set<JoinChain> chains) |
addProperties, alterWeight, getColumns, getDateFromProperty, getName, getProperties, getTableType, getWeight, now, removeProperty, toString, weight
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)
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)
expr
- ExprColumnpublic void removeExpression(String exprName)
exprName
- expression namepublic Set<ExprColumn> getExpressions()
public Set<String> getAllFieldNames()
getAllFieldNames
in class AbstractCubeTable
public void alterJoinChain(JoinChain joinchain)
joinchain
- join chainpublic boolean removeJoinChain(String chainName)
chainName
- chain name@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–2016 Apache Software Foundation. All rights reserved.