This project has retired. For details please refer to its Attic page.
HierarchicalDimAttribute (Lens 2.0.1-beta-incubating API)

org.apache.lens.cube.metadata
Class HierarchicalDimAttribute

java.lang.Object
  extended by org.apache.lens.cube.metadata.CubeColumn
      extended by org.apache.lens.cube.metadata.CubeDimAttribute
          extended by org.apache.lens.cube.metadata.HierarchicalDimAttribute
All Implemented Interfaces:
Named

public class HierarchicalDimAttribute
extends CubeDimAttribute


Constructor Summary
HierarchicalDimAttribute(String name, Map<String,String> props)
           
HierarchicalDimAttribute(String name, String description, List<CubeDimAttribute> hierarchy)
           
 
Method Summary
 void addProperties(Map<String,String> props)
           
 boolean equals(Object obj)
           
static List<CubeDimAttribute> getHiearachy(String name, Map<String,String> props)
           
 List<CubeDimAttribute> getHierarchy()
           
static String getHierarchyElement(CubeDimAttribute dim)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.apache.lens.cube.metadata.CubeColumn
getCost, getDescription, getDisplayString, getEndTime, getName, getStartTime
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HierarchicalDimAttribute

public HierarchicalDimAttribute(String name,
                                String description,
                                List<CubeDimAttribute> hierarchy)

HierarchicalDimAttribute

public HierarchicalDimAttribute(String name,
                                Map<String,String> props)
Method Detail

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.