|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A relational query model based on the
Expressions
package of the Common Warehouse Metamodel.
The Expressions package supports the definition of arbitrary expression trees.
Expression trees are based on a functional view of expressions, using the prefix
notation to allow for simple representation within this package.
For example, the expression a+b
could be translated
into sum(a,b)
.
This model is semantic-independent, meaning that the semantics of an expression -- for example, SQL generation -- are not part of this model, and are left to the consumer of an expression instance.
Method Summary | |
ResultSet |
execute()
Retrieves the result set of the current query. |
IBICommandProcessor |
getCommandProcessor()
Retrieves the command processor for this query. |
Object |
getExpression()
Retrieves the current query expression, bypassing the Command Processor . |
void |
setExpression(Object expression)
Sets the query expression, bypassing the Command Processor . |
boolean |
supports(IBIRelational.Supports feature)
Checks whether this feature is supported. |
void |
synchronize()
Synchronizes the command processor with the query. |
Methods inherited from interface com.sap.ip.bi.sdk.dac.relational.query.IBIQueryRepository |
getRefPackage |
Method Detail |
public void setExpression(Object expression) throws BIResourceException
Command Processor
.expression
- the query expressionBIResourceException
- if the type of the query expression is not supportedgetExpression()
public Object getExpression() throws BIResourceException
Command Processor
.BIResourceException
- if this operation failssetExpression(java.lang.Object)
public ResultSet execute() throws BIResourceException
BIResourceException
- if the query execution failspublic IBICommandProcessor getCommandProcessor() throws BIResourceException
BIResourceException
- if the command processor could not be instantiatedpublic boolean supports(IBIRelational.Supports feature)
feature
- the featuretrue
if this feature
is supported; false
otherwisepublic void synchronize() throws BIResourceException
BIResourceException
- if an error occurs during the generation of the expression
|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |