|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MeasureInterface
Represents a measure in a multidimensional cube. The measure is a bottom level element that is surfaced by the OLAP metadata interfaces. It contains the core information about the measures defined in the cube. The same measures are also considered members and may appear as generic members in a Measures dimension; however, the useful information that is particular to measures can be found in this interface. In addition to the basic information about the measure itself, the parent and child interfaces can also be retrieved directly from the MeasureInterface. The getCube() method returns the CubeInterface which parents this measure. Since the measure represents a bottom level element there are no child interfaces available. The measure may also be bound to an instance of the MetadataInterface, which is accessible from the getMetadata() method.
MetadataInterface
,
CubeInterface
Field Summary | |
---|---|
static int |
AGGREGATOR_AVG
The name of the aggregator whose type is average, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_CALCULATED
The name of the aggregator whose type is calculated, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_COUNT
The name of the aggregator whose type is count, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_MAX
The name of the aggregator whose type is maximum, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_MIN
The name of the aggregator whose type is minimum, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_STD
The name of the aggregator whose type is standard deviation, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_SUM
The name of the aggregator whose type is sum, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_UNKNOWN
The name of the aggregator whose type is unknown, as well as the return value for the getAggregator method. |
static int |
AGGREGATOR_VAR
The name of the aggregator whose type is variance, as well as the return value for the getAggregator method. |
Method Summary | |
---|---|
int |
getAggregator()
Returns the aggregator of the measure. |
CubeInterface |
getCube()
Returns the name of the cube to which the measure belongs. |
java.lang.Class |
getDataType()
Returns the data type of the measure. |
Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this MeasureInterface. |
java.lang.String |
getUnit()
Returns the format name for this measure. |
Methods inherited from interface com.sas.storage.olap.MetadataEntityInterface |
---|
getCreationDateTime, getDescription, getLabel, getMetadata, getName, getUniqueName, getUpdateDateTime |
Field Detail |
---|
static final int AGGREGATOR_SUM
static final int AGGREGATOR_COUNT
static final int AGGREGATOR_MAX
static final int AGGREGATOR_MIN
static final int AGGREGATOR_AVG
static final int AGGREGATOR_VAR
static final int AGGREGATOR_STD
static final int AGGREGATOR_CALCULATED
static final int AGGREGATOR_UNKNOWN
Method Detail |
---|
CubeInterface getCube() throws OLAPException
OLAPException
- if a database error occursjava.lang.Class getDataType() throws OLAPException
OLAPException
- if a database error occursint getAggregator() throws OLAPException
OLAPException
- if a database error occursjava.lang.String getUnit() throws OLAPException
OLAPException
- if a database error occursFilter getFilter() throws OLAPException
OLAPException
- if a database error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |