|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines methods that manipulate the mapping of dimensions along edges of an n-dimensional cube.
Method Summary | |
java.lang.String[][] |
getLayout() Retrieves the current layout of dimensions in the Query object as a two-dimensional String . |
java.lang.Boolean |
layout(java.lang.String[][] dimensions) Arranges a layout of dimensions along the edges of a Query object. |
void |
pivot(java.lang.String source, java.lang.String target, int flags) Performs the specified pivot operation. |
void |
swap(java.lang.String source, java.lang.String target) Performs the specified swap operation. |
void |
swapEdges(int source, int target) Performs the specified edge swap operation. |
Methods inherited from interface oracle.dss.dataSource.common.BaseManager |
addQueryListener, cancel, clone, getFetchPageEdge, getFetchSize, getQueryState, getSuppressionState, isAsymmetricDrilling, isAutoUpdate, isEvaluateCursor, isHierarchicalDrilling, isUpdatePending, removeQueryListener, setAsymmetricDrilling, setAutoUpdate, setEvaluateCursor, setFetchPageEdge, setFetchSize, setHierarchicalDrilling, setQueryState, setSuppressionState, update |
Method Detail |
public java.lang.Boolean layout(java.lang.String[][] dimensions) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
Query
object.dimensions
- An array of dimension layout arrays. The outer array maps to edges (such as column or row); the inner array maps slowest to fastest varying within an edge.true
if the operation is successful; false
if the operation is not successful.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection cannot be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public void pivot(java.lang.String source, java.lang.String target, int flags) throws InvalidStepArgException, QueryException, SelectionException, MetadataManagerException
source
- The source dimension.target
- The target dimension (if an edge is empty, then this must be a number that indicates the target edge)flags
- A constant that indicates the type of pivot. Use PivotConstants.PIVOT_AFTER
or PivotConstants.PIVOT_BEFORE.
Throws:
InvalidStepArgException
- If a step in a selection is bad.
SelectionException
- If a selection can't be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.PivotConstants.PIVOT_AFTER
, PivotConstants.PIVOT_BEFORE
public void swap(java.lang.String source, java.lang.String target) throws InvalidStepArgException, QueryException, SelectionException, MetadataManagerException
source
- The source dimension.target
- The target dimension.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection cannot be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public void swapEdges(int source, int target) throws InvalidStepArgException, QueryException, SelectionException, MetadataManagerException
source
- A constant (DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, or DataDirector.ROW_EDGE
) that represents the source edge.target
- A constant (DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, or DataDirector.ROW_EDGE
) that represents the target edge.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection can't be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.DataDirector.COLUMN_EDGE
, DataDirector.PAGE_EDGE
, DataDirector.ROW_EDGE
public java.lang.String[][] getLayout()
Query
object as a two-dimensional String
.Query
object.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |