|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.sasmdx.Tuple
public class Tuple
Contains the client side implementation for com.sas.storage.olap.TupleInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server.
Method Summary | |
---|---|
AxisInterface |
getAxis()
Return the axis which contains this tuple. |
TupleElementInterface |
getElement(int index)
Get the element at the given index from this tuple. |
TupleElementInterface[] |
getElements(int index,
int count)
Returns TupleLabels for this tuple |
int |
getTupleDepth()
Get the number of elements belonging to this tuple. |
int |
getTupleIndex()
Get the index of the tuple on the axis |
Method Detail |
---|
public AxisInterface getAxis() throws OLAPException
TupleInterface
getAxis
in interface TupleInterface
OLAPException
- if a database error occurspublic int getTupleIndex() throws OLAPException
getTupleIndex
in interface TupleInterface
OLAPException
- if a database error occurspublic int getTupleDepth() throws OLAPException
getTupleDepth
in interface TupleInterface
OLAPException
- if a database error occurspublic TupleElementInterface[] getElements(int index, int count) throws OLAPException
getElements
in interface TupleInterface
index
- A zero-based tuple element index (0 to getTupleDepth()-1).count
- The number of tuples to return where -1 mean all remaining tuple elements..
OLAPException
- if a database error occurspublic TupleElementInterface getElement(int index) throws OLAPException
TupleInterface
getElement
in interface TupleInterface
index
- a zero based tuple element index
OLAPException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |