|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface XmlaHandler.XmlaExtra
Extra support for XMLA server. If a connection provides this interface, the XMLA server will call methods in this interface instead of relying on the core olap4j interface.
The XmlaHandler.XmlaExtraImpl class provides
a default implementation that uses the olap4j interface exclusively.
| Nested Class Summary | |
|---|---|
static class |
XmlaHandler.XmlaExtra.FunctionDefinition
|
| 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. |
| Method Detail |
|---|
ResultSet executeDrillthrough(OlapStatement olapStatement,
String mdx,
boolean advanced,
String tabFields,
int[] rowCountSlot)
throws SQLException
SQLExceptionvoid setPreferList(OlapConnection connection)
Date getSchemaLoadDate(Schema schema)
int getLevelCardinality(Level level)
throws OlapException
OlapException
void getSchemaFunctionList(List<XmlaHandler.XmlaExtra.FunctionDefinition> funDefs,
Schema schema,
Util.Functor1<Boolean,String> functionFilter)
int getHierarchyCardinality(Hierarchy hierarchy)
throws OlapException
OlapExceptionint getHierarchyStructure(Hierarchy hierarchy)
boolean isHierarchyParentChild(Hierarchy hierarchy)
int getMeasureAggregator(Member member)
void checkMemberOrdinal(Member member)
throws OlapException
OlapException
boolean shouldReturnCellProperty(CellSet cellSet,
Property cellProperty,
boolean evenEmpty)
cellSet - Cell setcellProperty - Cell property definitionevenEmpty - Whether to return even if cell has no properties
List<String> getSchemaRoleNames(Schema schema)
schema - Schema
String getCubeType(Cube cube)
boolean isLevelUnique(Level level)
List<Property> getLevelProperties(Level level)
level - Level
boolean isPropertyInternal(Property property)
List<Map<String,Object>> getDataSources(OlapConnection connection)
throws OlapException
connection - Connection
OlapException - on error
Map<String,Object> getAnnotationMap(MetadataElement element)
throws SQLException
element - Element
SQLException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||