|
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 MetadataEntityInterface
OLAPException
public java.lang.String getLabel() throws OLAPException
MetadataEntityInterface
getLabel
in interface MetadataEntityInterface
OLAPException
public java.lang.String getUniqueName() throws OLAPException
MetadataEntityInterface
getUniqueName
in interface MetadataEntityInterface
OLAPException
public java.lang.String getDescription() throws OLAPException
getDescription
in interface MetadataEntityInterface
OLAPException
public CubeInterface getCube() throws OLAPException
MeasureInterface
getCube
in interface MeasureInterface
OLAPException
- if a database error occurspublic java.lang.Class getDataType() throws OLAPException
MeasureInterface
getDataType
in interface MeasureInterface
OLAPException
- if a database error occurspublic int getAggregator() throws OLAPException
MeasureInterface
getAggregator
in interface MeasureInterface
OLAPException
- if a database error occurspublic java.lang.String getUnit() throws OLAPException
MeasureInterface
getUnit
in interface MeasureInterface
OLAPException
- if a database error occurspublic Filter getFilter() throws OLAPException
MeasureInterface
getFilter
in interface MeasureInterface
OLAPException
- if a database error occurspublic MetadataInterface getMetadata() throws OLAPException
MetadataEntityInterface
getMetadata
in interface MetadataEntityInterface
OLAPException
- if a database error occurspublic java.util.Date getCreationDateTime() throws OLAPException
MetadataEntityInterface
getCreationDateTime
in interface MetadataEntityInterface
OLAPException
public java.util.Date getUpdateDateTime() throws OLAPException
MetadataEntityInterface
getUpdateDateTime
in interface MetadataEntityInterface
OLAPException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |