public interface Axis
The most commonly used values are
COLUMNS
(the first axis of a 2-dimensional query),
ROWS
(the second axis of a 2-dimensional query) and
FILTER
(also known as the slicer axis, denoted by a
WHERE
clause in an MDX statement).
Modifier and Type | Interface and Description |
---|---|
static class |
Axis.Factory
Container class for various Axis factory methods.
|
static class |
Axis.Standard
Enumeration of standard, named axes descriptors.
|
Modifier and Type | Field and Description |
---|---|
static Axis.Standard |
CHAPTERS
Abbreviation for
Axis.Standard.FILTER . |
static Axis.Standard |
COLUMNS
Abbreviation for
Axis.Standard.COLUMNS . |
static Axis.Standard |
FILTER
Abbreviation for
Axis.Standard.FILTER . |
static Axis.Standard |
PAGES
Abbreviation for
Axis.Standard.PAGES . |
static Axis.Standard |
ROWS
Abbreviation for
Axis.Standard.ROWS . |
static Axis.Standard |
SECTIONS
Abbreviation for
Axis.Standard.CHAPTERS . |
Modifier and Type | Method and Description |
---|---|
int |
axisOrdinal()
Returns the ordinal which is to be used for retrieving this axis from
the
CellSet.getAxes() , or retrieving its
coordinate from Cell.getCoordinateList() . |
String |
getCaption(Locale locale)
Returns localized name for this Axis.
|
boolean |
isFilter()
Returns whether this is the filter (slicer) axis.
|
String |
name()
Returns the name of this axis, e.g.
|
static final Axis.Standard FILTER
Axis.Standard.FILTER
.static final Axis.Standard COLUMNS
Axis.Standard.COLUMNS
.static final Axis.Standard ROWS
Axis.Standard.ROWS
.static final Axis.Standard PAGES
Axis.Standard.PAGES
.static final Axis.Standard SECTIONS
Axis.Standard.CHAPTERS
.static final Axis.Standard CHAPTERS
Axis.Standard.FILTER
.String name()
boolean isFilter()
int axisOrdinal()
CellSet.getAxes()
, or retrieving its
coordinate from Cell.getCoordinateList()
.
For example:
String getCaption(Locale locale)
Examples: "FILTER", "ROWS", "COLUMNS", "AXIS(10)".
locale
- Locale for which to give the name