public class AggStar.FactTable extends AggStar.Table
Modifier and Type | Class and Description |
---|---|
class |
AggStar.FactTable.Measure
This is a Column that is a Measure (contains an aggregator).
|
AggStar.Table.Column, AggStar.Table.JoinCondition, AggStar.Table.Level
children, levels
Modifier and Type | Method and Description |
---|---|
List<AggStar.Table.Column> |
getColumns()
Returns a list of the columns in this table.
|
AggStar.Table.JoinCondition |
getJoinCondition() |
List<AggStar.FactTable.Measure> |
getMeasures()
Returns a list of all measures.
|
long |
getNumberOfRows()
Get the number of rows in this aggregate table.
|
AggStar.Table |
getParent()
Get the parent table (returns null if this table is a FactTable).
|
long |
getTotalColumnSize()
Get the total size of all columns in a row.
|
long |
getVolume()
Get the volume of the table (now of rows * size of a row).
|
boolean |
hasJoinCondition()
Return true if this table has a join condition (only DimTables have
join conditions, FactTable instances do not).
|
boolean |
hasMeasures()
Return true it table has measures
|
boolean |
hasParent()
Return true if this table has a parent table (FactTable instances
do not have parent tables, all other do).
|
void |
print(PrintWriter pw,
String prefix) |
addLevel, addTable, addToFrom, convertChildren, convertColumns, convertTable, findDescendant, getAggStar, getChildTables, getLevels, getName, getRelation, getSqlQuery, hasChildren, hasLevels, toString
public AggStar.Table getParent()
AggStar.Table
getParent
in class AggStar.Table
public boolean hasParent()
AggStar.Table
hasParent
in class AggStar.Table
public boolean hasJoinCondition()
AggStar.Table
hasJoinCondition
in class AggStar.Table
public AggStar.Table.JoinCondition getJoinCondition()
getJoinCondition
in class AggStar.Table
public long getVolume()
public long getTotalColumnSize()
public long getNumberOfRows()
public List<AggStar.FactTable.Measure> getMeasures()
public boolean hasMeasures()
public List<AggStar.Table.Column> getColumns()
public void print(PrintWriter pw, String prefix)
print
in class AggStar.Table
Copyright © 2019 Hitachi Vantara. All rights reserved.