public class DataSourceChangeListenerImpl extends Object implements DataSourceChangeListener
Jdbc=jdbc:odbc:MondrianFoodMart; JdbcUser=ziggy; JdbcPassword=stardust;
DataSourceChangeListener=com.acme.MyChangeListener;
This class should be called in mondrian before any data is read, so
even before cache is build. This way, the plugin is able to register
the first timestamp mondrian tries to read the datasource.Constructor and Description |
---|
DataSourceChangeListenerImpl()
Creates a new instance of DataSourceChangeListenerImpl
|
Modifier and Type | Method and Description |
---|---|
String |
getTableName(RolapHierarchy hierarchy) |
boolean |
isAggregationChanged(AggregationKey aggregation)
Checks if the given aggregation has changed since the previous
time this function was called.
|
boolean |
isHierarchyChanged(RolapHierarchy hierarchy)
Checks if the given hierarchy has changed since the previous
time this function was called.
|
public DataSourceChangeListenerImpl()
public boolean isHierarchyChanged(RolapHierarchy hierarchy)
DataSourceChangeListener
isHierarchyChanged
in interface DataSourceChangeListener
public boolean isAggregationChanged(AggregationKey aggregation)
DataSourceChangeListener
isAggregationChanged
in interface DataSourceChangeListener
public String getTableName(RolapHierarchy hierarchy)
Copyright © 2020 Hitachi Vantara. All rights reserved.