|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.storage.olap.sasmdx.Measure
public class Measure
Contains the client side implementation for com.sas.storage.olap.MeasureInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server. There actually aren't any remote calls in this particular class. All remote metadata calls are made from within the MetadataInterface implementation.
| Field Summary | |
|---|---|
protected java.lang.Class |
dataTypeClass
|
protected java.lang.String |
format
|
protected int |
precision
|
protected int |
scale
|
| Fields inherited from interface com.sas.storage.olap.MeasureInterface |
|---|
AGGREGATOR_AVG, AGGREGATOR_CALCULATED, AGGREGATOR_COUNT, AGGREGATOR_MAX, AGGREGATOR_MIN, AGGREGATOR_STD, AGGREGATOR_SUM, AGGREGATOR_UNKNOWN, AGGREGATOR_VAR |
| Constructor Summary | |
|---|---|
Measure(MetadataInterface metadata,
com.sas.iom.SASMDX.ISession _session,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String name,
java.lang.String uniqueName,
java.lang.String label,
int dataType,
int aggregator,
java.lang.String unit,
java.lang.String description)
|
|
| Method Summary | |
|---|---|
int |
getAggregator()
Returns the aggregator of the measure. |
java.util.Date |
getCreationDateTime()
Get the creation date of this object |
CubeInterface |
getCube()
Returns the name of the cube to which the measure belongs. |
java.lang.Class |
getDataType()
Returns the data type of the measure. |
java.lang.String |
getDescription()
Return the description of measure |
Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this MeasureInterface. |
java.lang.String |
getLabel()
Get the label/caption for this metadata object |
MetadataInterface |
getMetadata()
Returns an instance of the MetadataInterface that is associated with this cube. |
java.lang.String |
getName()
Get the Name of this object |
java.lang.String |
getUniqueName()
Get the Unique name of this object |
java.lang.String |
getUnit()
Returns the format name for this measure. |
java.util.Date |
getUpdateDateTime()
Get the last update/modified date time for this object |
| Field Detail |
|---|
protected int precision
protected int scale
protected java.lang.String format
protected java.lang.Class dataTypeClass
| Constructor Detail |
|---|
public Measure(MetadataInterface metadata,
com.sas.iom.SASMDX.ISession _session,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String name,
java.lang.String uniqueName,
java.lang.String label,
int dataType,
int aggregator,
java.lang.String unit,
java.lang.String description)
throws OLAPException
OLAPException| Method Detail |
|---|
public java.lang.String getName()
throws OLAPException
MetadataEntityInterface
getName in interface MetadataEntityInterfaceOLAPException
public java.lang.String getLabel()
throws OLAPException
MetadataEntityInterface
getLabel in interface MetadataEntityInterfaceOLAPException
public java.lang.String getUniqueName()
throws OLAPException
MetadataEntityInterface
getUniqueName in interface MetadataEntityInterfaceOLAPException
public java.lang.String getDescription()
throws OLAPException
getDescription in interface MetadataEntityInterfaceOLAPException
public CubeInterface getCube()
throws OLAPException
MeasureInterface
getCube in interface MeasureInterfaceOLAPException - if a database error occurs
public java.lang.Class getDataType()
throws OLAPException
MeasureInterface
getDataType in interface MeasureInterfaceOLAPException - if a database error occurs
public int getAggregator()
throws OLAPException
MeasureInterface
getAggregator in interface MeasureInterfaceOLAPException - if a database error occurs
public java.lang.String getUnit()
throws OLAPException
MeasureInterface
getUnit in interface MeasureInterfaceOLAPException - if a database error occurs
public Filter getFilter()
throws OLAPException
MeasureInterface
getFilter in interface MeasureInterfaceOLAPException - if a database error occurs
public MetadataInterface getMetadata()
throws OLAPException
MetadataEntityInterface
getMetadata in interface MetadataEntityInterfaceOLAPException - if a database error occurs
public java.util.Date getCreationDateTime()
throws OLAPException
MetadataEntityInterface
getCreationDateTime in interface MetadataEntityInterfaceOLAPException
public java.util.Date getUpdateDateTime()
throws OLAPException
MetadataEntityInterface
getUpdateDateTime in interface MetadataEntityInterfaceOLAPException
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||