public abstract class AbstractCubeTable extends Object implements Named
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Map<String,String> props)
Add more table properties
|
void |
alterWeight(double weight)
Alters the weight of table
|
boolean |
equals(Object obj) |
Set<String> |
getAllFieldNames() |
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
getColumns() |
String |
getName() |
Map<String,String> |
getProperties() |
abstract Set<String> |
getStorages() |
abstract CubeTableType |
getTableType() |
static double |
getWeight(Map<String,String> properties,
String name) |
int |
hashCode() |
void |
removeProperty(String propKey)
Remove property specified by the key
|
String |
toString() |
double |
weight() |
public abstract CubeTableType getTableType()
public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getColumns()
public double weight()
public void alterWeight(double weight)
weight
- Weight of the table.public void addProperties(Map<String,String> props)
props
- propertiespublic void removeProperty(String propKey)
propKey
- property keyCopyright © 2014–2016 Apache Software Foundation. All rights reserved.