|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap4j.MondrianOlap4jExtra
class MondrianOlap4jExtra
Provides access to internals of mondrian's olap4j driver that are not part of the olap4j API.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface mondrian.xmla.XmlaHandler.XmlaExtra |
|---|
XmlaHandler.XmlaExtra.FunctionDefinition |
| Field Summary | |
|---|---|
(package private) static MondrianOlap4jExtra |
INSTANCE
|
| Constructor Summary | |
|---|---|
MondrianOlap4jExtra()
|
|
| Method Summary | |
|---|---|
void |
checkMemberOrdinal(Member member)
|
ResultSet |
executeDrillthrough(OlapStatement olapStatement,
String mdx,
boolean advanced,
String tabFields,
int[] rowCountSlot)
|
Map<String,Object> |
getAnnotationMap(MetadataElement element)
Returns a map containing annotations on this element. |
String |
getCubeType(Cube cube)
|
List<Map<String,Object>> |
getDataSources(OlapConnection connection)
Returns a list of the data sources in this server. |
int |
getHierarchyCardinality(Hierarchy hierarchy)
|
int |
getHierarchyStructure(Hierarchy hierarchy)
|
int |
getLevelCardinality(Level level)
|
List<Property> |
getLevelProperties(Level level)
Returns the defined properties of a level. |
int |
getMeasureAggregator(Member member)
|
void |
getSchemaFunctionList(List<XmlaHandler.XmlaExtra.FunctionDefinition> funDefs,
Schema schema,
Util.Functor1<Boolean,String> functionFilter)
|
Date |
getSchemaLoadDate(Schema schema)
|
List<String> |
getSchemaRoleNames(Schema schema)
Returns a list of names of roles in the given schema to which the current user belongs. |
boolean |
isHierarchyParentChild(Hierarchy hierarchy)
|
boolean |
isLevelUnique(Level level)
|
boolean |
isPropertyInternal(Property property)
|
void |
setPreferList(OlapConnection connection)
|
boolean |
shouldReturnCellProperty(CellSet cellSet,
Property cellProperty,
boolean evenEmpty)
Returns whether we should return a cell property in the XMLA result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final MondrianOlap4jExtra INSTANCE
| Constructor Detail |
|---|
MondrianOlap4jExtra()
| Method Detail |
|---|
public ResultSet executeDrillthrough(OlapStatement olapStatement,
String mdx,
boolean advanced,
String tabFields,
int[] rowCountSlot)
throws SQLException
executeDrillthrough in interface XmlaHandler.XmlaExtraSQLExceptionpublic void setPreferList(OlapConnection connection)
setPreferList in interface XmlaHandler.XmlaExtrapublic Date getSchemaLoadDate(Schema schema)
getSchemaLoadDate in interface XmlaHandler.XmlaExtra
public int getLevelCardinality(Level level)
throws OlapException
getLevelCardinality in interface XmlaHandler.XmlaExtraOlapException
public void getSchemaFunctionList(List<XmlaHandler.XmlaExtra.FunctionDefinition> funDefs,
Schema schema,
Util.Functor1<Boolean,String> functionFilter)
getSchemaFunctionList in interface XmlaHandler.XmlaExtra
public int getHierarchyCardinality(Hierarchy hierarchy)
throws OlapException
getHierarchyCardinality in interface XmlaHandler.XmlaExtraOlapExceptionpublic int getHierarchyStructure(Hierarchy hierarchy)
getHierarchyStructure in interface XmlaHandler.XmlaExtrapublic boolean isHierarchyParentChild(Hierarchy hierarchy)
isHierarchyParentChild in interface XmlaHandler.XmlaExtrapublic int getMeasureAggregator(Member member)
getMeasureAggregator in interface XmlaHandler.XmlaExtra
public void checkMemberOrdinal(Member member)
throws OlapException
checkMemberOrdinal in interface XmlaHandler.XmlaExtraOlapException
public boolean shouldReturnCellProperty(CellSet cellSet,
Property cellProperty,
boolean evenEmpty)
XmlaHandler.XmlaExtra
shouldReturnCellProperty in interface XmlaHandler.XmlaExtracellSet - Cell setcellProperty - Cell property definitionevenEmpty - Whether to return even if cell has no properties
public List<String> getSchemaRoleNames(Schema schema)
XmlaHandler.XmlaExtra
getSchemaRoleNames in interface XmlaHandler.XmlaExtraschema - Schema
public String getCubeType(Cube cube)
getCubeType in interface XmlaHandler.XmlaExtrapublic boolean isLevelUnique(Level level)
isLevelUnique in interface XmlaHandler.XmlaExtrapublic List<Property> getLevelProperties(Level level)
XmlaHandler.XmlaExtra
getLevelProperties in interface XmlaHandler.XmlaExtralevel - Level
public boolean isPropertyInternal(Property property)
isPropertyInternal in interface XmlaHandler.XmlaExtra
public List<Map<String,Object>> getDataSources(OlapConnection connection)
throws OlapException
XmlaHandler.XmlaExtra
getDataSources in interface XmlaHandler.XmlaExtraconnection - Connection
OlapException - on error
public Map<String,Object> getAnnotationMap(MetadataElement element)
throws SQLException
XmlaHandler.XmlaExtra
getAnnotationMap in interface XmlaHandler.XmlaExtraelement - Element
SQLException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||