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
SQLException
void 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
OlapException
int 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 propertiesList<String> getSchemaRoleNames(Schema schema)
schema
- SchemaString getSchemaId(Schema schema)
String getCubeType(Cube cube)
boolean isLevelUnique(Level level)
List<Property> getLevelProperties(Level level)
level
- Levelboolean isPropertyInternal(Property property)
List<Map<String,Object>> getDataSources(OlapConnection connection) throws OlapException
OlapException
- on errorconnection
- ConnectionMap<String,Object> getAnnotationMap(MetadataElement element) throws SQLException
SQLException
element
- Elementboolean canDrillThrough(Cell cell)
int getDrillThroughCount(Cell cell)
void flushSchemaCache(OlapConnection conn) throws OlapException
OlapException
Object getMemberKey(Member m) throws OlapException
OlapException
Object getOrderKey(Member m) throws OlapException
OlapException