org.apache.lens.cube.metadata
Class AbstractCubeTable
java.lang.Object
org.apache.lens.cube.metadata.AbstractCubeTable
- All Implemented Interfaces:
- Named
- Direct Known Subclasses:
- AbstractBaseTable, CubeDimensionTable, CubeFactTable, DerivedCube, Storage
public abstract class AbstractCubeTable
- extends Object
- implements Named
Field Summary |
static org.apache.log4j.Logger |
LOG
|
LOG
public static final org.apache.log4j.Logger LOG
getTableType
public abstract CubeTableType getTableType()
getStorages
public abstract Set<String> getStorages()
getProperties
public Map<String,String> getProperties()
getWeight
public static double getWeight(Map<String,String> properties,
String name)
getName
public String getName()
- Specified by:
getName
in interface Named
getColumns
public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getColumns()
weight
public double weight()
alterWeight
public void alterWeight(double weight)
- Alters the weight of table
- Parameters:
weight
-
addProperties
public void addProperties(Map<String,String> props)
- Add more table properties
- Parameters:
properties
-
removeProperty
public void removeProperty(String propKey)
- Remove property specified by the key
- Parameters:
propKey
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getAllFieldNames
public Set<String> getAllFieldNames()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.