public abstract class MdmSource extends MdmObject
MdmObject
that represents a measure, dimension, or other set of data (such as an attribute). To retrieve the data values that an MdmSource
represents, an application calls the getSource
method of the MdmSource
. The method returns a Source
that an application can use to create queries on the data that the MdmSource
represents.
A Source
returned by the getSource
method of an MdmSource
is a primary Source
. An application creates a query by using a method of the primary Source
to create a derived Source
that specifies a selection of its elements, or a calculation or some other manipulation of the data.
Modifier and Type | Method and Description |
---|---|
FundamentalMetadataObject |
getDataType()
Gets the OLAP Java API data type of the
MdmSource . |
Source |
getSource()
Gets the primary
Source through which an application can create queries on the data represented by the MdmSource . |
abstract MetadataObject |
getType()
Gets the type of the
MdmSource . |
acceptVisitor, addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getName, getNewName, getOwner
public FundamentalMetadataObject getDataType()
MdmSource
. The data type is a FundamentalMetadataObject
that represents one of the following OLAP Java API data types:
In this documentation, the OLAP Java API data types appear in regular font to distinguish them from the Java data types, such as boolean
, and the classes that encapsulate them, such as Boolean
. The Java data types and classes appear in monospace font.
FundamentalMetadataObject
that represents the OLAP Java API data type of the MdmSource
.public final Source getSource()
Source
through which an application can create queries on the data represented by the MdmSource
.
The returned Source
has no outputs. If the MdmSource
is an MdmDimension
, then the returned Source
has no inputs. If the MdmSource
is an MdmDimensionedObject
(an MdmMeasure
or an MdmAttribute
), then the returned Source
has inputs that correspond to the dimensions of the MdmDimensionedObject
.
Source
through which an application can create queries on the data represented by the MdmSource
.public abstract MetadataObject getType()
MdmSource
. The type is the MetadataObject
whose elements provide the pool from which the MdmSource
draws its elements. Typically, the type is either an MdmSource
or a FundamentalMetadataObject
that represents an OLAP Java API data type such as String, Integer, or Boolean.MetadataObject
that is the type of the MdmSource
.