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

org.apache.lens.cube.metadata
Class CubeColumn

java.lang.Object
  extended by org.apache.lens.cube.metadata.CubeColumn
All Implemented Interfaces:
Named
Direct Known Subclasses:
CubeDimAttribute, CubeMeasure, ExprColumn

public abstract class CubeColumn
extends Object
implements Named


Constructor Summary
CubeColumn(String name, Map<String,String> props)
           
CubeColumn(String name, String description, String displayString, Date startTime, Date endTime, Double cost)
           
 
Method Summary
 void addProperties(Map<String,String> props)
           
 boolean equals(Object obj)
           
 Double getCost()
           
 String getDescription()
           
 String getDisplayString()
           
 Date getEndTime()
           
 String getName()
           
 Date getStartTime()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CubeColumn

public CubeColumn(String name,
                  String description,
                  String displayString,
                  Date startTime,
                  Date endTime,
                  Double cost)

CubeColumn

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

getName

public String getName()
Specified by:
getName in interface Named

getStartTime

public Date getStartTime()
Returns:
the startTime

getEndTime

public Date getEndTime()
Returns:
the endTime

getCost

public Double getCost()
Returns:
the cost

getDescription

public String getDescription()
Returns:
the description

getDisplayString

public String getDisplayString()
Returns:
the displayString

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

addProperties

public void addProperties(Map<String,String> props)


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.