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() |
Date |
getDateFromProperty(String propKey,
boolean relative,
boolean start) |
String |
getName() |
Map<String,String> |
getProperties() |
abstract Set<String> |
getStorages() |
abstract CubeTableType |
getTableType() |
static double |
getWeight(Map<String,String> properties,
String name) |
int |
hashCode() |
Date |
now() |
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 keypublic Date getDateFromProperty(String propKey, boolean relative, boolean start)
public Date now()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.