public abstract class CubeColumn extends Object implements Named
Constructor and Description |
---|
CubeColumn(String name,
Map<String,String> props) |
CubeColumn(String name,
String description,
String displayString,
Date startTime,
Date endTime,
Double cost) |
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Map<String,String> props) |
boolean |
equals(Object obj) |
Double |
getCost() |
String |
getDescription() |
String |
getDisplayString() |
Date |
getEndTime() |
com.google.common.base.Optional<Long> |
getEndTimeMillisSinceEpoch() |
String |
getName() |
Date |
getStartTime() |
com.google.common.base.Optional<Long> |
getStartTimeMillisSinceEpoch() |
int |
hashCode() |
boolean |
isColumnAvailableFrom(Date date) |
boolean |
isColumnAvailableInTimeRange(TimeRange range) |
boolean |
isColumnAvailableTill(Date date) |
String |
toString() |
public CubeColumn(String name, String description, String displayString, Date startTime, Date endTime, Double cost)
public Date getStartTime()
public Date getEndTime()
public com.google.common.base.Optional<Long> getStartTimeMillisSinceEpoch()
public com.google.common.base.Optional<Long> getEndTimeMillisSinceEpoch()
public boolean isColumnAvailableInTimeRange(TimeRange range)
public boolean isColumnAvailableFrom(@NonNull Date date)
public boolean isColumnAvailableTill(@NonNull Date date)
public Double getCost()
public String getDescription()
public String getDisplayString()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.