public class BaseDimAttribute extends CubeDimAttribute
Constructor and Description |
---|
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(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Date startTime,
Date endTime,
Double cost,
Long numOfDistinctValues) |
BaseDimAttribute(String name,
Map<String,String> props)
This is used only for serializing
|
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Map<String,String> props) |
boolean |
equals(Object obj) |
static com.google.common.base.Optional<Long> |
getDimNumOfDistinctValues(String name,
Map<String,String> props) |
static String |
getDimType(String name,
Map<String,String> props) |
int |
hashCode() |
getCost, getDescription, getDisplayString, getEndTime, getEndTimeMillisSinceEpoch, getName, getStartTime, getStartTimeMillisSinceEpoch, isColumnAvailableFrom, isColumnAvailableInTimeRange, isColumnAvailableTill, toString
public BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column)
public BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, Date startTime, Date endTime, Double cost)
public BaseDimAttribute(org.apache.hadoop.hive.metastore.api.FieldSchema column, String displayString, Date startTime, Date endTime, Double cost, Long numOfDistinctValues)
public void addProperties(Map<String,String> props)
addProperties
in class CubeDimAttribute
public static com.google.common.base.Optional<Long> getDimNumOfDistinctValues(String name, Map<String,String> props)
public int hashCode()
hashCode
in class CubeDimAttribute
public boolean equals(Object obj)
equals
in class CubeDimAttribute
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.