mondrian.xmla
Class RowsetDefinition.MdschemaLevelsRowset
java.lang.Object
mondrian.xmla.Rowset
mondrian.xmla.RowsetDefinition.MdschemaLevelsRowset
- All Implemented Interfaces:
- XmlaConstants
- Enclosing class:
- RowsetDefinition
static class RowsetDefinition.MdschemaLevelsRowset
- extends Rowset
-
-
Fields inherited from interface mondrian.xmla.XmlaConstants |
CHH_AUTHORIZATION_CODE, CHH_AUTHORIZATION_FAULT_FS, CHH_CODE, CHH_FAULT_FS, CLIENT_FAULT_FC, CONTENT_DEFAULT, CONTEXT_ROLE, CONTEXT_ROLE_NAME, CONTEXT_XMLA_SESSION_ID, CONTEXT_XMLA_SESSION_STATE, CONTEXT_XMLA_SESSION_STATE_BEGIN, CONTEXT_XMLA_SESSION_STATE_END, CONTEXT_XMLA_SESSION_STATE_WITHIN, CPOSTA_CODE, CPOSTA_FAULT_FS, CPREA_CODE, CPREA_FAULT_FS, FAULT_ACTOR, FAULT_FC_PREFIX, FAULT_FS_PREFIX, FAULT_NS_PREFIX, HSB_ACCESS_DENIED_CODE, HSB_ACCESS_DENIED_FAULT_FS, HSB_BAD_COMMAND_CODE, HSB_BAD_COMMAND_FAULT_FS, HSB_BAD_METHOD_CODE, HSB_BAD_METHOD_FAULT_FS, HSB_BAD_METHOD_NS_CODE, HSB_BAD_METHOD_NS_FAULT_FS, HSB_BAD_NON_NULLABLE_COLUMN_CODE, HSB_BAD_NON_NULLABLE_COLUMN_FAULT_FS, HSB_BAD_PROPERTIES_CODE, HSB_BAD_PROPERTIES_FAULT_FS, HSB_BAD_PROPERTIES_LIST_CODE, HSB_BAD_PROPERTIES_LIST_FAULT_FS, HSB_BAD_REQUEST_TYPE_CODE, HSB_BAD_REQUEST_TYPE_FAULT_FS, HSB_BAD_RESTRICTION_LIST_CODE, HSB_BAD_RESTRICTION_LIST_FAULT_FS, HSB_BAD_RESTRICTION_TYPE_CODE, HSB_BAD_RESTRICTION_TYPE_FAULT_FS, HSB_BAD_RESTRICTION_VALUE_CODE, HSB_BAD_RESTRICTION_VALUE_FAULT_FS, HSB_BAD_RESTRICTIONS_CODE, HSB_BAD_RESTRICTIONS_FAULT_FS, HSB_BAD_SOAP_BODY_CODE, HSB_BAD_SOAP_BODY_FAULT_FS, HSB_BAD_STATEMENT_CODE, HSB_BAD_STATEMENT_FAULT_FS, HSB_CONNECTION_DATA_SOURCE_CODE, HSB_CONNECTION_DATA_SOURCE_FAULT_FS, HSB_DISCOVER_FORMAT_CODE, HSB_DISCOVER_FORMAT_FAULT_FS, HSB_DISCOVER_UNPARSE_CODE, HSB_DISCOVER_UNPARSE_FAULT_FS, HSB_DRILL_THROUGH_FORMAT_CODE, HSB_DRILL_THROUGH_FORMAT_FAULT_FS, HSB_DRILL_THROUGH_NOT_ALLOWED_CODE, HSB_DRILL_THROUGH_NOT_ALLOWED_FAULT_FS, HSB_DRILL_THROUGH_SQL_CODE, HSB_DRILL_THROUGH_SQL_FAULT_FS, HSB_DRILLDOWN_BAD_FIRST_ROWSET_CODE, HSB_DRILLDOWN_BAD_FIRST_ROWSET_FAULT_FS, HSB_DRILLDOWN_BAD_MAXROWS_CODE, HSB_DRILLDOWN_BAD_MAXROWS_FAULT_FS, HSB_DRILLDOWN_ERROR_CODE, HSB_DRILLDOWN_ERROR_FAULT_FS, HSB_EXECUTE_QUERY_CODE, HSB_EXECUTE_QUERY_FAULT_FS, HSB_EXECUTE_UNPARSE_CODE, HSB_EXECUTE_UNPARSE_FAULT_FS, HSB_PARSE_QUERY_CODE, HSB_PARSE_QUERY_FAULT_FS, HSB_PROCESS_CODE, HSB_PROCESS_FAULT_FS, HSB_UNKNOWN_CODE, HSB_UNKNOWN_FAULT_FS, HSB_UNSUPPORTED_OPERATION_CODE, HSB_UNSUPPORTED_OPERATION_FAULT_FS, HSH_BAD_SESSION_ID_CODE, HSH_BAD_SESSION_ID_FAULT_FS, HSH_MUST_UNDERSTAND_CODE, HSH_MUST_UNDERSTAND_FAULT_FS, HSH_UNKNOWN_CODE, HSH_UNKNOWN_FAULT_FS, METHOD_DISCOVER, METHOD_EXECUTE, MONDRIAN_NAMESPACE, MSM_UNKNOWN_CODE, MSM_UNKNOWN_FAULT_FS, MUST_UNDERSTAND_FAULT_FC, NS_SOAP_ENC_1_1, NS_SOAP_ENC_1_2, NS_SOAP_ENV_1_1, NS_SOAP_ENV_1_2, NS_SQL, NS_XMLA, NS_XMLA_EMPTY, NS_XMLA_EX, NS_XMLA_MDDATASET, NS_XMLA_ROWSET, NS_XSD, NS_XSI, SERVER_FAULT_FC, SOAP_MUST_UNDERSTAND_ATTR, SOAP_PREFIX, UNKNOWN_ERROR_CODE, UNKNOWN_ERROR_FAULT_FS, USM_DOM_FACTORY_CODE, USM_DOM_FACTORY_FAULT_FS, USM_DOM_PARSE_CODE, USM_DOM_PARSE_FAULT_FS, USM_DOM_PARSE_IO_CODE, USM_DOM_PARSE_IO_FAULT_FS, USM_REQUEST_INPUT_CODE, USM_REQUEST_INPUT_FAULT_FS, USM_REQUEST_STATE_CODE, USM_REQUEST_STATE_FAULT_FS, USM_UNKNOWN_CODE, USM_UNKNOWN_FAULT_FS, VERSION_MISSMATCH_FAULT_FC, XMLA_BEGIN_SESSION, XMLA_END_SESSION, XMLA_SESSION, XMLA_SESSION_ID |
Method Summary |
protected boolean |
outputLevel(SchemaReader schemaReader,
String catalogName,
Cube cube,
Hierarchy hierarchy,
Level level,
List<Rowset.Row> rows)
Outputs a level. |
void |
populate(XmlaResponse response,
List<Rowset.Row> rows)
Gathers the set of rows which match a given set of the criteria. |
protected void |
populateCatalog(Connection connection,
String catalogName,
List<Rowset.Row> rows)
|
protected void |
populateCube(SchemaReader schemaReader,
String catalogName,
Cube cube,
List<Rowset.Row> rows)
|
protected void |
populateDimension(SchemaReader schemaReader,
String catalogName,
Cube cube,
Dimension dimension,
List<Rowset.Row> rows)
|
protected void |
populateHierarchy(SchemaReader schemaReader,
String catalogName,
Cube cube,
Hierarchy hierarchy,
List<Rowset.Row> rows)
|
protected void |
setProperty(PropertyDefinition propertyDef,
String value)
Sets a property for this rowset. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDLEVEL_TYPE_UNKNOWN
public static final int MDLEVEL_TYPE_UNKNOWN
- See Also:
- Constant Field Values
MDLEVEL_TYPE_REGULAR
public static final int MDLEVEL_TYPE_REGULAR
- See Also:
- Constant Field Values
MDLEVEL_TYPE_ALL
public static final int MDLEVEL_TYPE_ALL
- See Also:
- Constant Field Values
MDLEVEL_TYPE_CALCULATED
public static final int MDLEVEL_TYPE_CALCULATED
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME
public static final int MDLEVEL_TYPE_TIME
- See Also:
- Constant Field Values
MDLEVEL_TYPE_RESERVED1
public static final int MDLEVEL_TYPE_RESERVED1
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_YEARS
public static final int MDLEVEL_TYPE_TIME_YEARS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_HALF_YEAR
public static final int MDLEVEL_TYPE_TIME_HALF_YEAR
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_QUARTERS
public static final int MDLEVEL_TYPE_TIME_QUARTERS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_MONTHS
public static final int MDLEVEL_TYPE_TIME_MONTHS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_WEEKS
public static final int MDLEVEL_TYPE_TIME_WEEKS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_DAYS
public static final int MDLEVEL_TYPE_TIME_DAYS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_HOURS
public static final int MDLEVEL_TYPE_TIME_HOURS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_MINUTES
public static final int MDLEVEL_TYPE_TIME_MINUTES
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_SECONDS
public static final int MDLEVEL_TYPE_TIME_SECONDS
- See Also:
- Constant Field Values
MDLEVEL_TYPE_TIME_UNDEFINED
public static final int MDLEVEL_TYPE_TIME_UNDEFINED
- See Also:
- Constant Field Values
RowsetDefinition.MdschemaLevelsRowset
RowsetDefinition.MdschemaLevelsRowset(XmlaRequest request,
XmlaHandler handler)
populate
public void populate(XmlaResponse response,
List<Rowset.Row> rows)
throws XmlaException
- Description copied from class:
Rowset
- Gathers the set of rows which match a given set of the criteria.
- Specified by:
populate
in class Rowset
- Throws:
XmlaException
populateCatalog
protected void populateCatalog(Connection connection,
String catalogName,
List<Rowset.Row> rows)
throws XmlaException
- Throws:
XmlaException
populateCube
protected void populateCube(SchemaReader schemaReader,
String catalogName,
Cube cube,
List<Rowset.Row> rows)
throws XmlaException
- Throws:
XmlaException
populateDimension
protected void populateDimension(SchemaReader schemaReader,
String catalogName,
Cube cube,
Dimension dimension,
List<Rowset.Row> rows)
throws XmlaException
- Throws:
XmlaException
populateHierarchy
protected void populateHierarchy(SchemaReader schemaReader,
String catalogName,
Cube cube,
Hierarchy hierarchy,
List<Rowset.Row> rows)
throws XmlaException
- Throws:
XmlaException
outputLevel
protected boolean outputLevel(SchemaReader schemaReader,
String catalogName,
Cube cube,
Hierarchy hierarchy,
Level level,
List<Rowset.Row> rows)
throws XmlaException
- Outputs a level.
- Throws:
XmlaException
- If error occurs- Parameters:
schemaReader
- Schema readercatalogName
- Catalog namecube
- Cube definitionhierarchy
- Hierarchylevel
- Levelrows
- List of rows to output to
- Returns:
- whether the level is visible
setProperty
protected void setProperty(PropertyDefinition propertyDef,
String value)
- Description copied from class:
Rowset
- Sets a property for this rowset. Called by the constructor for each
supplied property.
A derived class should override this method and intercept each
property it supports. Any property it does not support, it should forward
to the base class method, which will probably throw an error.
- Overrides:
setProperty
in class Rowset