public class QDRSliceSortInfo extends CubicSortInfo
setQDRSort
API.Modifier and Type | Field and Description |
---|---|
protected boolean |
m_isCategorySort |
protected QDRInterface |
m_qdr |
protected int |
m_slice |
m_edge, m_grouped, m_nullsFirst
ASCENDING, DESCENDING, FIRST, LAST, m_direction, m_layerName, m_parameterHelper
Constructor and Description |
---|
QDRSliceSortInfo(int edge,
QDRInterface qdr,
int direction,
boolean nullsFirst,
boolean grouped)
Constructor
|
QDRSliceSortInfo(int edge,
QDRInterface qdr,
int slice,
int direction,
boolean nullsFirst,
boolean grouped)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
QDRInterface |
getQDR()
Get the QDR object that specify sort locations
|
int |
getSlice() |
boolean |
isCategorySort() |
void |
setCategorySort(boolean category) |
void |
setQDR(QDRInterface qdr)
Set a QDR objects that specify measures at certain
dimension items (e.g., Sales for Jan96, Tents, New York) by
which to sort a dimension item.
|
void |
setSlice(int slice) |
getEdge, isGrouped, isNullsFirst, setEdge, setGrouped, setNullsFirst
associateParameter, getAssociatedParameterName, getDirection, getLayerName, getParameterNames, parameterize, setDirection, setLayerName, usesParameter
protected QDRInterface m_qdr
protected int m_slice
protected boolean m_isCategorySort
public QDRSliceSortInfo(int edge, QDRInterface qdr, int direction, boolean nullsFirst, boolean grouped)
edge
- cubic edge to sort (row or column). The innermost layer of the edge is sortedqdr
- QDR object by which to sort.direction
- sort ascending or descendingnullsFirst
- should all null values be sorted first or last?grouped
- should values be sorted within their outer layer values, or should the entire edge
be sorted as sets of tuples?public QDRSliceSortInfo(int edge, QDRInterface qdr, int slice, int direction, boolean nullsFirst, boolean grouped)
edge
- cubic edge to sort (row or column). The innermost layer of the edge is sortedqdr
- QDR object by which to sort.slice
- optional slice indicator (performance)direction
- sort ascending or descendingnullsFirst
- should all null values be sorted first or last?grouped
- should values be sorted within their outer layer values, or should the entire edge
be sorted as sets of tuples?public void setQDR(QDRInterface qdr)
qdr
- QDR object by which to sort.public QDRInterface getQDR()
public void setSlice(int slice)
public int getSlice()
public void setCategorySort(boolean category)
category
- public boolean isCategorySort()