This project has retired. For details please refer to its
Attic page.
BaseDimAttribute (Lens 2.0.1-beta-incubating API)
org.apache.lens.cube.metadata
Class BaseDimAttribute
java.lang.Object
org.apache.lens.cube.metadata.CubeColumn
org.apache.lens.cube.metadata.CubeDimAttribute
org.apache.lens.cube.metadata.BaseDimAttribute
- All Implemented Interfaces:
- Named
- Direct Known Subclasses:
- InlineDimAttribute, ReferencedDimAtrribute
public class BaseDimAttribute
- extends CubeDimAttribute
BaseDimAttribute
public BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column)
BaseDimAttribute
public BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Date startTime,
Date endTime,
Double cost)
BaseDimAttribute
public BaseDimAttribute(String name,
Map<String,String> props)
- This is used only for serializing
- Parameters:
name
- props
-
getType
public String getType()
addProperties
public void addProperties(Map<String,String> props)
- Overrides:
addProperties
in class CubeDimAttribute
getDimType
public static String getDimType(String name,
Map<String,String> props)
hashCode
public int hashCode()
- Overrides:
hashCode
in class CubeDimAttribute
equals
public boolean equals(Object obj)
- Overrides:
equals
in class CubeDimAttribute
toString
public String toString()
- Overrides:
toString
in class CubeColumn
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.