public interface IEssOpMdxQuery extends IEssOperation
Modifier and Type | Interface and Description |
---|---|
static class |
IEssOpMdxQuery.EEssMemberIdentifierType
The EEssMemberIdentifierType class is an enumeration of member
identifier types.
|
IEssOperation.EEssOperationType
Modifier and Type | Method and Description |
---|---|
IEssOpMdxQuery.EEssMemberIdentifierType |
getMemberIdentifierType()
Gets the MDX Member Identifier Type in query.
|
java.lang.String |
getQuerySpec()
Gets the MDX query specification.
|
boolean |
isDataless()
Checks if MDX query is dataless query.
|
boolean |
isHideRestrictedData()
Checks if restricted data is to be hidden.
|
boolean |
isNeedCellAttributes()
Checks if MDX query will return cell attributes for data cells.
|
boolean |
isNeedFormatString()
Returns true if the Format String corresponding to
Date & Double type of cells are to be fetched(if any)
while querying through MDX.
|
boolean |
isNeedFormattedCellValue()
Indicates if Formatted Cell Values are to retrieved while querying.
|
boolean |
isNeedFormattedMissingCells()
Deprecated.
Replaced by
isNeedProcessMissingCells() |
boolean |
isNeedMeaninglessCells()
Indicates if Meaningless cells are to be returned.
|
boolean |
isNeedProcessMissingCells()
Indicates if color coding/Text Formatting is to be applied for #MISSING value
based cells.
|
boolean |
isNeedSmartlistName()
Returns true if the Smartlist name corresponding to
a smartlist type of cell is to be fetched
while querying through MDX.
|
boolean |
isURLDrillThrough()
Indicates if URL drill through (color coding) information will be fetched.
|
boolean |
isXMLAMode()
To idenfify whether MDX Query Execution is set in XMLA Mode or not.
|
void |
setDataless(boolean dataLess)
Sets if MDX query is dataless query.
|
void |
setHideRestrictedData(boolean hideData)
If set, all the cells to which user does not have access to, will be
returned as Missing cells.
|
void |
setMemberIdentifierType(IEssOpMdxQuery.EEssMemberIdentifierType idtype)
Sets the Member Identifier Type in query.
|
void |
setNeedCellAttributes(boolean needCellAttributes)
Sets if MDX query will return cell attributes for data cells.
|
void |
setNeedFormatString(boolean needFmtString)
To enable or disable retrieving of formatted cell text.
|
void |
setNeedFormattedCellValue(boolean needFmtdCellVal)
To enable or disable retrieving of formatted cell text.
|
void |
setNeedFormattedMissingCells(boolean fmtMissingCells)
Deprecated.
Replaced by
setNeedProcessMissingCells(boolean) |
void |
setNeedMeaninglessCells(boolean getMeaninglessCells)
To enable or disable fetching of MEANINGLESS cells.
|
void |
setNeedProcessMissingCells(boolean procMissingCells)
To enable or disable color-coding/formatting of missing value cells.
|
void |
setNeedSmartlistName(boolean needAssocdSmartlistName)
To enable or disable retrieving of smartlist name associated with a
smartlist type of cell.
|
void |
setQuery(boolean dataLess,
boolean hideRestrictedData,
java.lang.String querySpec,
boolean needCellStatus,
IEssOpMdxQuery.EEssMemberIdentifierType idtype)
Sets the MDX query specification and options relating to the MDX operation.
|
void |
setQuery(boolean dataLess,
java.lang.String querySpec,
boolean needCellStatus,
IEssOpMdxQuery.EEssMemberIdentifierType idtype)
Sets the MDX query specification and options relating to the MDX operation.
|
void |
setQuerySpec(java.lang.String querySpec)
Sets the MDX query specification.
|
void |
setURLDrillThrough(boolean needURLDrillThrough)
To enable or disable retrieving of URL drill through (color coding) information.
|
void |
setXMLAMode(boolean xmlaMode)
This is to enable or disable XMLA-Mode for MDX Query operations.
|
getOperationType
IEssOpMdxQuery.EEssMemberIdentifierType getMemberIdentifierType() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setMemberIdentifierType(IEssOpMdxQuery.EEssMemberIdentifierType idtype) throws com.essbase.api.base.EssException
idtype
- The member identifier type that will be returned in
query results.com.essbase.api.base.EssException
- if an error occurs.boolean isHideRestrictedData() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occursvoid setHideRestrictedData(boolean hideData) throws com.essbase.api.base.EssException
hideData
- true to hide datacom.essbase.api.base.EssException
- if an error occursboolean isDataless() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setDataless(boolean dataLess) throws com.essbase.api.base.EssException
dataLess
- true if dataless; false otherwise.com.essbase.api.base.EssException
- if an error occurs.boolean isNeedCellAttributes() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setNeedCellAttributes(boolean needCellAttributes) throws com.essbase.api.base.EssException
needCellAttributes
- true if cell attributes will be returned;
false otherwise.com.essbase.api.base.EssException
- if an error occurs.boolean isXMLAMode() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setXMLAMode(boolean xmlaMode) throws com.essbase.api.base.EssException
xmlaMode
- true to run MDX query in XMLA Mode; false otherwise.com.essbase.api.base.EssException
- if an error occurs.boolean isNeedFormattedCellValue() throws com.essbase.api.base.EssException
true
if Formatted text is to retrieved.com.essbase.api.base.EssException
- if an error occurs.void setNeedFormattedCellValue(boolean needFmtdCellVal) throws com.essbase.api.base.EssException
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.0.0 and above.
needFmtdCellVal
- true
to fetch formatted text.com.essbase.api.base.EssException
- if an error occurs.boolean isNeedSmartlistName() throws com.essbase.api.base.EssException
true
if the Smartlist Name has to be fetched.com.essbase.api.base.EssException
- if an error occurs.void setNeedSmartlistName(boolean needAssocdSmartlistName) throws com.essbase.api.base.EssException
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.0.0 and above.
needAssocdSmartlistName
- true
to fetch associated smartlist name.com.essbase.api.base.EssException
- if an error occurs.boolean isNeedFormatString() throws com.essbase.api.base.EssException
true
if the Format String will be fetched.com.essbase.api.base.EssException
- if an error occurs.void setNeedFormatString(boolean needFmtString) throws com.essbase.api.base.EssException
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.0.0 and above.
needFmtString
- true
to fetch format strings.com.essbase.api.base.EssException
- if an error occurs.boolean isNeedFormattedMissingCells() throws com.essbase.api.base.EssException
isNeedProcessMissingCells()
true
if the Missing Cells are to be formatted.com.essbase.api.base.EssException
- if an error occurs.void setNeedFormattedMissingCells(boolean fmtMissingCells) throws com.essbase.api.base.EssException
setNeedProcessMissingCells(boolean)
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.0.0 and above.
fmtMissingCells
- true to format missing cellscom.essbase.api.base.EssException
- if an error occurs.boolean isNeedProcessMissingCells() throws com.essbase.api.base.EssException
true
if the Missing Cells are to be color-coded/formatted.com.essbase.api.base.EssException
- if an error occurs.void setNeedProcessMissingCells(boolean procMissingCells) throws com.essbase.api.base.EssException
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.3.0 and above.
procMissingCells
- true to process missing cellscom.essbase.api.base.EssException
- if an error occurs.boolean isNeedMeaninglessCells() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setNeedMeaninglessCells(boolean getMeaninglessCells) throws com.essbase.api.base.EssException
If enabled, a cell may be identified a MEANIGLESS. This would usually happen in the domain of varying attributes, where a particular data cell is not applicable because there in valid association.
If disabled, MEANINGLESS cells will be returned as MISSING cells.
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.0.0 and above.
getMeaninglessCells
- true to enable fetching meaningless cellscom.essbase.api.base.EssException
- if an error occurs.boolean isURLDrillThrough() throws com.essbase.api.base.EssException
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.3 and above.
true
if URL drill through information will be fetched.com.essbase.api.base.EssException
- if an error occurs.void setURLDrillThrough(boolean needURLDrillThrough) throws com.essbase.api.base.EssException
By default, this option is not set for querying.
This option is applicable only in Essbase versions 11.1.1.3 and above.
Essbase does not retrieve color code details for missing cells. If that
is desired, additionally enable missing cells
using setNeedProcessMissingCells(boolean)
needURLDrillThrough
- true
to fetch URL drill through information.com.essbase.api.base.EssException
- if an error occurs.java.lang.String getQuerySpec() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setQuerySpec(java.lang.String querySpec) throws com.essbase.api.base.EssException
querySpec
- The MDX query specification.com.essbase.api.base.EssException
- if an error occurs.void setQuery(boolean dataLess, java.lang.String querySpec, boolean needCellStatus, IEssOpMdxQuery.EEssMemberIdentifierType idtype) throws com.essbase.api.base.EssException
dataLess
- true if dataless; false otherwise.querySpec
- The MDX query specification.needCellStatus
- true if cell statuses will be returned; false otherwise.idtype
- The member id type that will be returned in query results.com.essbase.api.base.EssException
- if an error occurs.void setQuery(boolean dataLess, boolean hideRestrictedData, java.lang.String querySpec, boolean needCellStatus, IEssOpMdxQuery.EEssMemberIdentifierType idtype) throws com.essbase.api.base.EssException
dataLess
- true if dataless; false otherwise.hideRestrictedData
- If true, all the cells to which user does not have
access to, will be returned as Missing cells.querySpec
- The MDX query specification.needCellStatus
- true if cell statuses will be returned; false otherwise.idtype
- The member id type that will be returned in query results.com.essbase.api.base.EssException
- if an error occurs.