|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.MetadataProvider
public class MetadataProvider
This class provides access to an OLAP Metadata instance while tying up as few resources as possible.
| Field Summary | |
|---|---|
protected java.lang.Object |
model
Deprecated. The BusinessModel that holds the connection information for the creation of the MetadataInterface instance. |
| Constructor Summary | |
|---|---|
MetadataProvider(java.lang.Object model)
Deprecated. Creates a new MetadataProvider with the specified BusinessModel. |
|
| Method Summary | |
|---|---|
MetadataInterface |
getMetadata()
Deprecated. |
static MetadataInterface |
getMetadata(com.sas.iquery.metadata.business.BusinessModel model)
Deprecated. Returns a MetadataInterface instance that should connect with the first DataSource in the given BusinessModel. |
static MetadataInterface |
getMetadata(com.sas.iquery.metadata.business.DataSelection model)
Deprecated. Returns a MetadataInterface instance that should connect with the first DataSource in the given BusinessModel. |
static MetadataInterface |
getMetadata(com.sas.iquery.metadata.business.DataSelection dataSelection,
com.sas.metadata.remote.LogicalServer logicalServer,
com.sas.iquery.dataretrieval.RetrievalPolicy retrievalPolicy)
Deprecated. Returns an instance of MetadataInterface based on the specified parameters. |
static MetadataInterface |
getMetadata(com.sas.iom.SASMDX.ISession iSession)
Deprecated. Do not use this class to construct com.sas.storage.olap.MetadataInterface |
static MetadataInterface |
getMetadata(java.lang.Object model)
Deprecated. Examines the given object and attempts to return a MetadataInterface associated with it. |
java.lang.Object |
getModel()
Deprecated. Returns the model used by this MetadataProvider |
void |
setModel(java.lang.Object model)
Deprecated. Sets the model |
| Field Detail |
|---|
protected transient java.lang.Object model
| Constructor Detail |
|---|
public MetadataProvider(java.lang.Object model)
businessModel - the BusinessModel holding the connection info| Method Detail |
|---|
public void setModel(java.lang.Object model)
model - public java.lang.Object getModel()
public MetadataInterface getMetadata()
getMetadata in interface MetadataProviderInterfacepublic static MetadataInterface getMetadata(java.lang.Object model)
model - the model to examine
public static MetadataInterface getMetadata(com.sas.iquery.metadata.business.BusinessModel model)
throws com.sas.iquery.metadata.MetadataException
model - the business model to examine
com.sas.iquery.metadata.MetadataException - for any unrecoverable errors that occur while
connecting with the OLAP metadata server
public static MetadataInterface getMetadata(com.sas.iquery.metadata.business.DataSelection model)
throws com.sas.iquery.metadata.MetadataException
model - the business model to examine
com.sas.iquery.metadata.MetadataException - for any unrecoverable errors that occur while
connecting with the OLAP metadata server
public static MetadataInterface getMetadata(com.sas.iquery.metadata.business.DataSelection dataSelection,
com.sas.metadata.remote.LogicalServer logicalServer,
com.sas.iquery.dataretrieval.RetrievalPolicy retrievalPolicy)
throws java.rmi.RemoteException
dataSelection - The DataSelection to processlogicalServer - The LogicalServer to connect toretrievalPolicy - The RetrievalPolicy to use w/ the connection
java.rmi.RemoteException - if a problem occurs while retrieving the ConnectionRecycler
public static MetadataInterface getMetadata(com.sas.iom.SASMDX.ISession iSession)
throws OLAPException
iSession - the ISession object holding the connection information
OLAPException - if any problems occur while retrieving the object
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||