public static interface XmlaHandler.XmlaExtra
The XmlaHandler.XmlaExtraImpl class provides
 a default implementation that uses the olap4j interface exclusively.
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
XmlaHandler.XmlaExtra.FunctionDefinition  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canDrillThrough(Cell cell)
Returns a boolean indicating if the specified
 cell can be drilled on. 
 | 
void | 
checkMemberOrdinal(Member member)  | 
ResultSet | 
executeDrillthrough(OlapStatement olapStatement,
                   String mdx,
                   boolean advanced,
                   String tabFields,
                   int[] rowCountSlot)  | 
void | 
flushSchemaCache(OlapConnection conn)
Makes the connection send a command to the server
 to flush all caches. 
 | 
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 | 
getDrillThroughCount(Cell cell)
Returns the number of rows returned by a
 drillthrough on the specified cell. 
 | 
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)  | 
Object | 
getMemberKey(Member m)
Returns the key for a given member. 
 | 
Object | 
getOrderKey(Member m)
Returns the ordering key for a given member. 
 | 
void | 
getSchemaFunctionList(List<XmlaHandler.XmlaExtra.FunctionDefinition> funDefs,
                     Schema schema,
                     Util.Functor1<Boolean,String> functionFilter)  | 
String | 
getSchemaId(Schema schema)
Returns the unique ID of a schema. 
 | 
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. 
 | 
ResultSet executeDrillthrough(OlapStatement olapStatement, String mdx, boolean advanced, String tabFields, int[] rowCountSlot) throws SQLException
SQLExceptionvoid setPreferList(OlapConnection connection)
int getLevelCardinality(Level level) throws OlapException
OlapExceptionvoid 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
OlapExceptionboolean shouldReturnCellProperty(CellSet cellSet, Property cellProperty, boolean evenEmpty)
cellSet - Cell setcellProperty - Cell property definitionevenEmpty - Whether to return even if cell has no propertiesList<String> getSchemaRoleNames(Schema schema)
schema - Schemaboolean isLevelUnique(Level level)
List<Property> getLevelProperties(Level level)
level - Levelboolean isPropertyInternal(Property property)
List<Map<String,Object>> getDataSources(OlapConnection connection) throws OlapException
connection - ConnectionOlapException - on errorMap<String,Object> getAnnotationMap(MetadataElement element) throws SQLException
element - ElementSQLExceptionboolean canDrillThrough(Cell cell)
int getDrillThroughCount(Cell cell)
void flushSchemaCache(OlapConnection conn) throws OlapException
OlapExceptionObject getMemberKey(Member m) throws OlapException
OlapExceptionObject getOrderKey(Member m) throws OlapException
OlapException