|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.AbstractTableObject
com.citra.pivot.table.TableCube
public class TableCube
TableCube is the the concrete OlapCube implementation for the table datasource.
Field Summary | |
---|---|
protected DimensionList |
dimensions
the cube's dimensions |
protected MeasureList |
measures
the cube's measures |
protected OlapSchema |
schema
the cube's schema |
Fields inherited from class com.citra.pivot.table.AbstractTableObject |
---|
caption, description, id, name |
Method Summary | |
---|---|
void |
addDimension(TableDimension dimension)
Adds a dimension to the cube. |
void |
addSupportedLocale(Locale locale)
Adds a locale to the cube. |
DerivedTableMeasure |
createDerivedMeasure(String name,
Class dataType,
OlapType olapType,
TableMeasure inputMeasure,
DerivedMeasureAggregator aggregator)
Creates, adds and returns a derived measure, given a name, datatype, olaptype and derived aggregator. |
DerivedTableMeasure |
createDerivedMeasure(String name,
Class dataType,
TableMeasure inputMeasure,
DerivedMeasureAggregator aggregator)
Creates, adds and returns a derived measure, given a name, datatype and derived aggregator. |
StandardTableMeasure |
createMeasure(String name,
Class dataType,
int column)
Creates, adds and returns a measure given a name and datatype. |
StandardTableMeasure |
createMeasure(String name,
Class dataType,
int column,
StandardMeasureAggregator aggregator)
Creates, adds and returns a measure, given a name, datatype, and aggregator. |
StandardTableMeasure |
createMeasure(String name,
Class dataType,
OlapType olapType,
TableLeafAggregator leafAggregator,
StandardMeasureAggregator aggregator)
Creates, adds and returns a measure, given a name, datatype, olaptype, aggregator and leaf aggregator. |
StandardTableMeasure |
createMeasure(String name,
Class dataType,
TableLeafAggregator leafAggregator)
Creates, adds and returns a measure, given a name, datatype and leaf aggregator. |
StandardTableMeasure |
createMeasure(String name,
Class dataType,
TableLeafAggregator leafAggregator,
StandardMeasureAggregator aggregator)
Creates, adds and returns a measure, given a name, datatype, aggregator and leaf aggregator. |
DimensionList |
getDimensions()
Retrieves the dimensions of the cube. |
OlapDimension |
getMeasureDimension()
Retrieves the measure dimension. |
MeasureList |
getMeasures()
Retrieves the measures of the cube. |
OlapSchema |
getSchema()
Retrieves the schema this cube belongs to. |
LocaleList |
getSupportedLocales()
Retrieves the locales that are supported by this cube. |
void |
removeDimension(TableDimension dimension)
Removes a dimension from the cube. |
boolean |
removeSupportedLocale(Locale locale)
Removes a locale from the cube. |
Methods inherited from class com.citra.pivot.table.AbstractTableObject |
---|
getCaption, getCaption, getDescription, getDescription, getID, getName, setCaption, setCaption, setDescription, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.citra.pivot.olap.metadata.OlapObject |
---|
getCaption, getDescription, getID, getName |
Field Detail |
---|
protected DimensionList dimensions
protected MeasureList measures
protected OlapSchema schema
Method Detail |
---|
public void addDimension(TableDimension dimension)
dimension
- the dimension to addpublic void addSupportedLocale(Locale locale)
locale
- the supported locale to addpublic DerivedTableMeasure createDerivedMeasure(String name, Class dataType, OlapType olapType, TableMeasure inputMeasure, DerivedMeasureAggregator aggregator)
name
- the measure's namedataType
- the measure's data typeolapType
- the measure's olap typeaggregator
- the measure's derived aggregator
public DerivedTableMeasure createDerivedMeasure(String name, Class dataType, TableMeasure inputMeasure, DerivedMeasureAggregator aggregator)
name
- the measure's namedataType
- the measure's data typeaggregator
- the measure's derived aggregator
public StandardTableMeasure createMeasure(String name, Class dataType, int column)
name
- the measure's namedataType
- the measure's data typecolumn
- the single column that is used in the aggregation of the leafs
public StandardTableMeasure createMeasure(String name, Class dataType, int column, StandardMeasureAggregator aggregator)
name
- the measure's namedataType
- the measure's data typecolumn
- the single column that is used in the aggregation of the leafsaggregator
- the measure's aggregator
public StandardTableMeasure createMeasure(String name, Class dataType, OlapType olapType, TableLeafAggregator leafAggregator, StandardMeasureAggregator aggregator)
name
- the measure's namedataType
- the measure's data typeolapType
- the measure's olap typeleafAggregator
- the measure's leaf aggregatoraggregator
- the measure's aggregator
public StandardTableMeasure createMeasure(String name, Class dataType, TableLeafAggregator leafAggregator)
name
- the measure's namedataType
- the measure's data typeleafAggregator
- the measure's leaf aggregator
public StandardTableMeasure createMeasure(String name, Class dataType, TableLeafAggregator leafAggregator, StandardMeasureAggregator aggregator)
name
- the measure's namedataType
- the measure's data typeleafAggregator
- the measure's leaf aggregatoraggregator
- the measure's aggregator
public DimensionList getDimensions()
getDimensions
in interface OlapCube
public OlapDimension getMeasureDimension()
getMeasureDimension
in interface OlapCube
public MeasureList getMeasures()
getMeasures
in interface OlapCube
public OlapSchema getSchema()
getSchema
in interface OlapCube
public LocaleList getSupportedLocales()
getSupportedLocales
in interface OlapCube
public void removeDimension(TableDimension dimension)
dimension
- the dimension to removepublic boolean removeSupportedLocale(Locale locale)
locale
- the locale to remove
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |