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(org.olap4j.Cell cell)
Returns a boolean indicating if the specified
cell can be drilled on.
|
void |
checkMemberOrdinal(org.olap4j.metadata.Member member) |
ResultSet |
executeDrillthrough(org.olap4j.OlapStatement olapStatement,
String mdx,
boolean advanced,
String tabFields,
int[] rowCountSlot) |
void |
flushSchemaCache(org.olap4j.OlapConnection conn)
Makes the connection send a command to the server
to flush all caches.
|
Map<String,Object> |
getAnnotationMap(org.olap4j.metadata.MetadataElement element)
Returns a map containing annotations on this element.
|
String |
getCubeType(org.olap4j.metadata.Cube cube) |
List<Map<String,Object>> |
getDataSources(org.olap4j.OlapConnection connection)
Returns a list of the data sources in this server.
|
int |
getDrillThroughCount(org.olap4j.Cell cell)
Returns the number of rows returned by a
drillthrough on the specified cell.
|
int |
getHierarchyCardinality(org.olap4j.metadata.Hierarchy hierarchy) |
int |
getHierarchyStructure(org.olap4j.metadata.Hierarchy hierarchy) |
int |
getLevelCardinality(org.olap4j.metadata.Level level) |
default String |
getLevelDataType(org.olap4j.metadata.Level level)
Returns the data type of the level's key.
|
List<org.olap4j.metadata.Property> |
getLevelProperties(org.olap4j.metadata.Level level)
Returns the defined properties of a level.
|
int |
getMeasureAggregator(org.olap4j.metadata.Member member) |
Object |
getMemberKey(org.olap4j.metadata.Member m)
Returns the key for a given member.
|
Object |
getOrderKey(org.olap4j.metadata.Member m)
Returns the ordering key for a given member.
|
void |
getSchemaFunctionList(List<XmlaHandler.XmlaExtra.FunctionDefinition> funDefs,
org.olap4j.metadata.Schema schema,
Util.Functor1<Boolean,String> functionFilter) |
String |
getSchemaId(org.olap4j.metadata.Schema schema)
Returns the unique ID of a schema.
|
Date |
getSchemaLoadDate(org.olap4j.metadata.Schema schema) |
List<String> |
getSchemaRoleNames(org.olap4j.metadata.Schema schema)
Returns a list of names of roles in the given schema to which the
current user belongs.
|
boolean |
isHierarchyParentChild(org.olap4j.metadata.Hierarchy hierarchy) |
boolean |
isLevelUnique(org.olap4j.metadata.Level level) |
boolean |
isPropertyInternal(org.olap4j.metadata.Property property) |
void |
setPreferList(org.olap4j.OlapConnection connection) |
boolean |
shouldReturnCellProperty(org.olap4j.CellSet cellSet,
org.olap4j.metadata.Property cellProperty,
boolean evenEmpty)
Returns whether we should return a cell property in the XMLA result.
|
ResultSet executeDrillthrough(org.olap4j.OlapStatement olapStatement, String mdx, boolean advanced, String tabFields, int[] rowCountSlot) throws SQLException
SQLException
void setPreferList(org.olap4j.OlapConnection connection)
Date getSchemaLoadDate(org.olap4j.metadata.Schema schema)
int getLevelCardinality(org.olap4j.metadata.Level level) throws org.olap4j.OlapException
org.olap4j.OlapException
void getSchemaFunctionList(List<XmlaHandler.XmlaExtra.FunctionDefinition> funDefs, org.olap4j.metadata.Schema schema, Util.Functor1<Boolean,String> functionFilter)
int getHierarchyCardinality(org.olap4j.metadata.Hierarchy hierarchy) throws org.olap4j.OlapException
org.olap4j.OlapException
int getHierarchyStructure(org.olap4j.metadata.Hierarchy hierarchy)
boolean isHierarchyParentChild(org.olap4j.metadata.Hierarchy hierarchy)
int getMeasureAggregator(org.olap4j.metadata.Member member)
void checkMemberOrdinal(org.olap4j.metadata.Member member) throws org.olap4j.OlapException
org.olap4j.OlapException
boolean shouldReturnCellProperty(org.olap4j.CellSet cellSet, org.olap4j.metadata.Property cellProperty, boolean evenEmpty)
cellSet
- Cell setcellProperty
- Cell property definitionevenEmpty
- Whether to return even if cell has no propertiesList<String> getSchemaRoleNames(org.olap4j.metadata.Schema schema)
schema
- SchemaString getSchemaId(org.olap4j.metadata.Schema schema)
String getCubeType(org.olap4j.metadata.Cube cube)
boolean isLevelUnique(org.olap4j.metadata.Level level)
List<org.olap4j.metadata.Property> getLevelProperties(org.olap4j.metadata.Level level)
level
- Levelboolean isPropertyInternal(org.olap4j.metadata.Property property)
List<Map<String,Object>> getDataSources(org.olap4j.OlapConnection connection) throws org.olap4j.OlapException
connection
- Connectionorg.olap4j.OlapException
- on errorMap<String,Object> getAnnotationMap(org.olap4j.metadata.MetadataElement element) throws SQLException
element
- ElementSQLException
boolean canDrillThrough(org.olap4j.Cell cell)
int getDrillThroughCount(org.olap4j.Cell cell)
void flushSchemaCache(org.olap4j.OlapConnection conn) throws org.olap4j.OlapException
org.olap4j.OlapException
Object getMemberKey(org.olap4j.metadata.Member m) throws org.olap4j.OlapException
org.olap4j.OlapException
Object getOrderKey(org.olap4j.metadata.Member m) throws org.olap4j.OlapException
org.olap4j.OlapException
default String getLevelDataType(org.olap4j.metadata.Level level)
level
- Copyright © 2019 Hitachi Vantara. All rights reserved.