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

org.apache.lens.cube.metadata
Class ColumnMeasure

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

public final class ColumnMeasure
extends CubeMeasure


Constructor Summary
ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column)
           
ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, String formatString, String aggregate, String unit)
           
ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, String formatString, String aggregate, String unit, Date startTime, Date endTime, Double cost)
           
ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, String formatString, String aggregate, String unit, Date startTime, Date endTime, Double cost, Double min, Double max)
           
ColumnMeasure(String name, Map<String,String> props)
           
 
Method Summary
 void addProperties(Map<String,String> props)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.apache.lens.cube.metadata.CubeMeasure
getAggregate, getColumn, getFormatString, getMax, getMin, getName, getType, getUnit, toString
 
Methods inherited from class org.apache.lens.cube.metadata.CubeColumn
getCost, getDescription, getDisplayString, getEndTime, getStartTime
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnMeasure

public ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column,
                     String displayString,
                     String formatString,
                     String aggregate,
                     String unit)

ColumnMeasure

public ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column)

ColumnMeasure

public ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column,
                     String displayString,
                     String formatString,
                     String aggregate,
                     String unit,
                     Date startTime,
                     Date endTime,
                     Double cost)

ColumnMeasure

public ColumnMeasure(org.apache.hadoop.hive.metastore.api.FieldSchema column,
                     String displayString,
                     String formatString,
                     String aggregate,
                     String unit,
                     Date startTime,
                     Date endTime,
                     Double cost,
                     Double min,
                     Double max)

ColumnMeasure

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

addProperties

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

hashCode

public int hashCode()
Overrides:
hashCode in class CubeMeasure

equals

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


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