|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") public interface TupleInterface
An interface representing a tuple in a multidimensional result set.
The tuple concept is a core element of the result set metadata. It combines members from each dimension that is projected onto the axis. Each axis contains a set of tuples with each one representing a single point on the axis. The tuple coordinate uniquely identifies the position of the tuple on the axis.
{(2000, Chairs)} is an example of a tuple where the Time and Products dimensions are projected onto the axis. While this example displays a set of two labels, "2000" and "Chairs", each element of a tuple contains more information than just the displayable text. This information is found in the tuple elements which are returned from the getTupleElements() method.
AxisInterface,
ResultSetMetadataInterface,
TupleElementInterface| Method Summary | |
|---|---|
abstract AxisInterface |
getAxis()
Return the axis which contains this tuple. |
abstract TupleElementInterface |
getElement(int index)
Get the element at the given index from this tuple. |
abstract TupleElementInterface[] |
getElements(int index,
int count)
Returns an array of tuple elements. |
abstract int |
getTupleDepth()
Return the number of elements associated with this tuple. |
abstract int |
getTupleIndex()
Returns the tuple index. |
| Method Detail |
|---|
AxisInterface getAxis()
throws OLAPException
OLAPException - if a database error occurs
int getTupleIndex()
throws OLAPException
OLAPException - if a database error occurs
int getTupleDepth()
throws OLAPException
OLAPException - if a database error occurs
TupleElementInterface[] getElements(int index,
int count)
throws OLAPException
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 occurs
TupleElementInterface getElement(int index)
throws OLAPException
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 | |||||||||||||