org.apache.lens.cube.metadata
Class HierarchicalDimAttribute
java.lang.Object
org.apache.lens.cube.metadata.CubeColumn
org.apache.lens.cube.metadata.CubeDimAttribute
org.apache.lens.cube.metadata.HierarchicalDimAttribute
- All Implemented Interfaces:
- Named
public class HierarchicalDimAttribute
- extends CubeDimAttribute
HierarchicalDimAttribute
public HierarchicalDimAttribute(String name,
String description,
List<CubeDimAttribute> hierarchy)
HierarchicalDimAttribute
public HierarchicalDimAttribute(String name,
Map<String,String> props)
getHierarchy
public List<CubeDimAttribute> getHierarchy()
addProperties
public void addProperties(Map<String,String> props)
- Overrides:
addProperties
in class CubeDimAttribute
getHierarchyElement
public static String getHierarchyElement(CubeDimAttribute dim)
getHiearachy
public static List<CubeDimAttribute> getHiearachy(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.