org.apache.lens.cube.metadata
Class InlineDimAttribute

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
              extended by org.apache.lens.cube.metadata.InlineDimAttribute
All Implemented Interfaces:
Named

public class InlineDimAttribute
extends BaseDimAttribute


Constructor Summary
InlineDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column, List<String> values)
           
InlineDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, Date startTime, Date endTime, Double cost, List<String> values)
           
InlineDimAttribute(String name, Map<String,String> props)
          This is used only for serializing
 
Method Summary
 void addProperties(Map<String,String> props)
           
 boolean equals(Object obj)
           
 List<String> getValues()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.apache.lens.cube.metadata.BaseDimAttribute
getDimType, getType
 
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

InlineDimAttribute

public InlineDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
                          List<String> values)

InlineDimAttribute

public InlineDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
                          String displayString,
                          Date startTime,
                          Date endTime,
                          Double cost,
                          List<String> values)

InlineDimAttribute

public InlineDimAttribute(String name,
                          Map<String,String> props)
This is used only for serializing

Parameters:
name -
props -
Method Detail

getValues

public List<String> getValues()

addProperties

public void addProperties(Map<String,String> props)
Overrides:
addProperties in class BaseDimAttribute

hashCode

public int hashCode()
Overrides:
hashCode in class BaseDimAttribute

equals

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

toString

public String toString()
Overrides:
toString in class BaseDimAttribute


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