public class Segmentation extends AbstractCubeTable
Constructor and Description |
---|
Segmentation(String cubeName,
String segmentName,
Set<Segment> segments) |
Segmentation(String cubeName,
String segmentName,
Set<Segment> segments,
double weight) |
Segmentation(String baseCube,
String segmentName,
Set<Segment> segments,
double weight,
Map<String,String> properties) |
Segmentation(org.apache.hadoop.hive.ql.metadata.Table hiveTable) |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(Segment cubeSeg) |
void |
alterBaseCubeName(String cubeName) |
void |
alterSegment(Set<Segment> cubeSegs) |
void |
dropSegment(Segment cubeSeg) |
Date |
getAbsoluteEndTime() |
Date |
getAbsoluteStartTime() |
String |
getBaseCube() |
Date |
getEndTime() |
Date |
getRelativeEndTime() |
Date |
getRelativeStartTime() |
static Set<String> |
getSegmentNames(Set<Segment> segments) |
Set<Segment> |
getSegments() |
Date |
getStartTime() |
Set<String> |
getStorages() |
CubeTableType |
getTableType() |
addProperties, alterWeight, equals, getAllFieldNames, getColumns, getDateFromProperty, getName, getProperties, getWeight, hashCode, now, removeProperty, toString, weight
public Segmentation(org.apache.hadoop.hive.ql.metadata.Table hiveTable)
public Segmentation(String cubeName, String segmentName, Set<Segment> segments, double weight)
public void addSegment(Segment cubeSeg)
public void dropSegment(Segment cubeSeg)
public void alterBaseCubeName(String cubeName)
public String getBaseCube()
public CubeTableType getTableType()
getTableType
in class AbstractCubeTable
public Set<String> getStorages()
getStorages
in class AbstractCubeTable
public Date getAbsoluteStartTime()
public Date getRelativeStartTime()
public Date getStartTime()
public Date getAbsoluteEndTime()
public Date getRelativeEndTime()
public Date getEndTime()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.