public class CubeVirtualFactTable extends AbstractCubeTable implements FactTable
| Constructor and Description |
|---|
CubeVirtualFactTable(String cubeName,
String virtualFactName,
com.google.common.base.Optional<Double> weight,
Map<String,String> properties,
FactTable sourceFact) |
CubeVirtualFactTable(org.apache.hadoop.hive.ql.metadata.Table hiveTable,
FactTable sourceCubeFactTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
alterWeight(double weight)
Alters the weight of table
|
Date |
getAbsoluteEndTime()
Absolute end time of the fact
|
Date |
getAbsoluteStartTime()
Absolute start time of the fact
|
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
getColumns()
List of columns of the fact
|
String |
getCubeName()
Cube to which this fact belongs to
|
String |
getDataCompletenessTag()
tag for checking data completeness
|
Date |
getEndTime()
End time of the fact
|
Date |
getRelativeEndTime()
Relative End time of the Fact
|
Date |
getRelativeStartTime()
Relative start time of the fact
|
FactTable |
getSourceCubeFactTable() |
String |
getSourceFactName()
Storage name of the fact
|
Date |
getStartTime()
Start time of the fact
|
Set<String> |
getStorages()
The set of Storage names
|
CubeTableType |
getTableType()
The type of the fact
|
Map<String,Set<UpdatePeriod>> |
getUpdatePeriods()
Get map of storage to update period mapping
|
Set<String> |
getValidColumns()
Valid columns of the fact
|
com.google.common.base.Optional<Double> |
getVirtualFactWeight() |
boolean |
isAggregated()
Is Aggregated Fact
|
boolean |
isVirtualFact()
Is Virtual Fact
|
void |
setSourceCubeFactTable(FactTable sourceCubeFactTable) |
double |
weight()
Weight of the fact
|
addProperties, equals, getAllFieldNames, getName, getProperties, getWeight, hashCode, now, removeProperty, toStringgetAllFieldNames, getPropertiespublic CubeVirtualFactTable(org.apache.hadoop.hive.ql.metadata.Table hiveTable,
FactTable sourceCubeFactTable)
public void alterWeight(double weight)
alterWeight in class AbstractCubeTableweight - Weight of the table.public CubeTableType getTableType()
FactTablegetTableType in interface FactTablegetTableType in class AbstractCubeTableCubeTableTypepublic Set<String> getValidColumns()
FactTablegetValidColumns in interface FactTablepublic Set<String> getStorages()
FactTablegetStorages in interface FactTablegetStorages in class AbstractCubeTablepublic Map<String,Set<UpdatePeriod>> getUpdatePeriods()
FactTablegetUpdatePeriods in interface FactTablepublic String getCubeName()
FactTablegetCubeName in interface FactTablepublic String getDataCompletenessTag()
FactTablegetDataCompletenessTag in interface FactTablepublic boolean isAggregated()
FactTableisAggregated in interface FactTablepublic List<org.apache.hadoop.hive.metastore.api.FieldSchema> getColumns()
FactTablegetColumns in interface FactTablegetColumns in class AbstractCubeTableFieldSchemapublic double weight()
FactTableweight in interface FactTableweight in class AbstractCubeTablepublic Date getAbsoluteStartTime()
FactTablegetAbsoluteStartTime in interface FactTableDatepublic Date getRelativeStartTime()
FactTablegetRelativeStartTime in interface FactTableDatepublic Date getStartTime()
FactTablegetStartTime in interface FactTableDatepublic Date getAbsoluteEndTime()
FactTablegetAbsoluteEndTime in interface FactTableDatepublic Date getRelativeEndTime()
FactTablegetRelativeEndTime in interface FactTableDatepublic Date getEndTime()
FactTablegetEndTime in interface FactTableDatepublic boolean isVirtualFact()
FactTableisVirtualFact in interface FactTablepublic String getSourceFactName()
FactTablegetSourceFactName in interface FactTable@Generated(value="lombok") public FactTable getSourceCubeFactTable()
@Generated(value="lombok") public void setSourceCubeFactTable(FactTable sourceCubeFactTable)
@Generated(value="lombok") public com.google.common.base.Optional<Double> getVirtualFactWeight()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.