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
  extended by org.apache.lens.cube.metadata.CubeColumn
      extended by org.apache.lens.cube.metadata.CubeDimAttribute
          extended by org.apache.lens.cube.metadata.BaseDimAttribute
All Implemented Interfaces:
Named
Direct Known Subclasses:
InlineDimAttribute, ReferencedDimAtrribute

public class BaseDimAttribute
extends CubeDimAttribute


Constructor Summary
BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column)
           
BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, Date startTime, Date endTime, Double cost)
           
BaseDimAttribute(String name, Map<String,String> props)
          This is used only for serializing
 
Method Summary
 void addProperties(Map<String,String> props)
           
 boolean equals(Object obj)
           
static String getDimType(String name, Map<String,String> props)
           
 String getType()
           
 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

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 -
Method Detail

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.