|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the overall OLAP query. It aggregates axes along which dimensions are projected, and a slicer which contains members by which the resulting data is filtered. A typical query aggregates three axes: one columns and one rows axis which define the visible portion of the result, and one slicer or filter axis.
Method Summary | |
IBIDataSet |
execute()
Issues a query against a specific Cube . |
List |
getAxis()
The collection of axes associated with this query. |
IBICommandProcessor |
getCommandProcessor()
Returns an interface to a CommandProcessor , which simplifies
navigation of a query. |
Cube |
getCube()
Represents the Cube object associated with this query.
|
Object |
getNativeRepresentation()
Returns the native representation of the query object, independent of the source system. |
List |
getSapVariable()
The list of slots of type Slot which represent the SAP
variables defined in the query. |
IBIAxis |
getSlicer()
The slicer axis associated with this query, if any, otherwise null. |
boolean |
isOptimizing()
Causes the query to optimize its definition after execution if optimizing
is set to true. |
void |
setOptimizing(boolean newValue)
Causes the query to optimize its definition after execution if optimizing
is set to true. |
void |
setSlicer(IBIAxis newValue)
The slicer axis associated with this query, if any, otherwise null. |
Methods inherited from interface com.sap.ip.bi.sdk.dac.olap.query.main.IBIIdentifiable |
getDescription, getId, getLabel, setDescription, setId, setLabel |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
Method Detail |
public boolean isOptimizing() throws javax.jmi.reflect.JmiException
Causes the query to optimize its definition after execution if optimizing
is set to true. When a query is executed and the returned result of type
IBIDataSet is generated, the system tries to simplify the query definition
in order to keep the query as simple as possible. For non-slicer axes all
set expressions are cleared and according to the returned IBIDataSet tuples
are created and enumerated on the axis.
public void setOptimizing(boolean newValue) throws javax.jmi.reflect.JmiException
Causes the query to optimize its definition after execution if optimizing
is set to true. When a query is executed and the returned result of type
IBIDataSet is generated, the system tries to simplify the query definition
in order to keep the query as simple as possible. For non-slicer axes all
set expressions are cleared and according to the returned IBIDataSet tuples
are created and enumerated on the axis.
public Cube getCube() throws javax.jmi.reflect.JmiException
Represents the Cube
object associated with this query.
OLAP queries are based upon cubes. A query can also be regarded as a view
of the data of the associated cube. In the current version of the BI Java
SDK, the OLAP Query Model supports queries upon one cube only.
public IBIAxis getSlicer() throws javax.jmi.reflect.JmiException
The slicer axis associated with this query, if any, otherwise null.
public void setSlicer(IBIAxis newValue) throws javax.jmi.reflect.JmiException
The slicer axis associated with this query, if any, otherwise null.
public List getAxis() throws javax.jmi.reflect.JmiException
The collection of axes associated with this query. Each axis contains selection criteria for members of the dimensions that are projected along the axis.
public List getSapVariable() throws javax.jmi.reflect.JmiException
The list of slots of type Slot
which represent the SAP
variables defined in the query. Each slot associates an IBISapVariable
(Feature
) with an IBISapVariableValue
(Instance
).
In the case of a complex selection, the Slot
associates the
variable with an Object
, which in turn has an association
to a collection of IBISapVariableValues
.
public Object getNativeRepresentation() throws javax.jmi.reflect.JmiException
Returns the native representation of the query object, independent of the source system. In most cases, this is also the object which is created to talk to the server upon which the query is executed.
In case of an ODBO or XMLA connection, this method returns an MDX string.
public IBIDataSet execute() throws javax.jmi.reflect.JmiException
Issues a query against a specific Cube
. The query consists
of the currently-selected dimensions and members specified by the TupleSet
and MemberSet
objects of the axes. It returns an IBIDataset
interface to access the result.
public IBICommandProcessor getCommandProcessor() throws javax.jmi.reflect.JmiException
Returns an interface to a CommandProcessor
, which simplifies
navigation of a query. There are basically two ways of manipulating a query:
OLAP Command Processor
contains various methods that can be understood
as macros which encapsulate the typical operations a client application
needs to perform upon a query in response to user interactions. The approach
has the advantage of much less complexity for the client, however it constraints
the application to the set of operations that are included in the command
processor API.
|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |