Package com.qfs.distribution
Interface IDistributedActivePivot
-
- All Superinterfaces:
IActivePivot,IQueryable
- All Known Subinterfaces:
IDistributedActivePivotVersion
- All Known Implementing Classes:
DistributedActivePivotVersion
public interface IDistributedActivePivot extends IActivePivot
A proxyIActivePivotthat distributes a localIActivePivot.- Author:
- ActiveViam
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIDistributedActivePivot.DataReplicationIn different distributed applications, the data cubes are allowed to have different hierarchies and levels.
-
Field Summary
-
Fields inherited from interface com.quartetfs.biz.pivot.IActivePivot
SUPPORTED_QUERIES_PACKAGE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IQueryNodeQueryTranslatorcreateQueryTranslator(String dataCubeAddress)Creates atranslatorresponsible for filter and location translation between the query cube and the local data cube.IDistributedActivePivotContextgetContext()Returns thecontext.IDistributedActivePivot.DataReplicationgetDataReplicationPolicy()Returns theIDistributedActivePivot.DataReplicationpolicy for handlinghierarchiesthat do not appear in all local cubes.IDistributedActivePivotDescriptiongetDescription()Gets the distributed pivot's description.PropertiesgetDistributedProperties()Gets thePropertiesspecific to the distributed pivot's configuration.ILocalityIdentifiergetLocalityIdentifier()Gets the locality identifier.Set<String>getMeasuresWithoutReplication()Set of measure names which mustn't be retrieved if the queried location causes replication.IDistributedMessengergetMessenger()Gets the messenger for distributed communication.longgetViewId()booleanuseApplicationMeasureNames()Indicates if the application name must be used to prefix measure names.-
Methods inherited from interface com.quartetfs.biz.pivot.IActivePivot
executeAsync, executeAsync, getAggregateProvider, getAggregatesCache, getAnalysisAggregationProcedures, getDimensions, getHierarchicalMapping, getHierarchies, getId, getMeasuresProvider, getPartitioningManager, isEmpty, isEmpty
-
Methods inherited from interface com.quartetfs.fwk.query.IQueryable
execute, getSupportedQueries
-
-
-
-
Method Detail
-
getContext
IDistributedActivePivotContext getContext()
Description copied from interface:IActivePivotReturns thecontext.- Specified by:
getContextin interfaceIActivePivot- Returns:
- The context.
- See Also:
IContext,IActivePivotContext
-
getDataReplicationPolicy
IDistributedActivePivot.DataReplication getDataReplicationPolicy()
Returns theIDistributedActivePivot.DataReplicationpolicy for handlinghierarchiesthat do not appear in all local cubes.- Returns:
- The policy for handling hierarchies that do not appear in all local cubes.
-
getMessenger
IDistributedMessenger getMessenger()
Gets the messenger for distributed communication.- Returns:
- The
messengerused for communicating with the other instances.
-
getLocalityIdentifier
ILocalityIdentifier getLocalityIdentifier()
Gets the locality identifier.- Returns:
- The
ILocalityIdentifierused to decide whether somelocationsbelong to the local instance or not.
-
createQueryTranslator
IQueryNodeQueryTranslator createQueryTranslator(String dataCubeAddress)
Creates atranslatorresponsible for filter and location translation between the query cube and the local data cube.If
null, the data cube may have left the cluster.- Parameters:
dataCubeAddress- The address of the remote data cube- Returns:
- The created translator
-
getViewId
long getViewId()
- Returns:
- The ID of the view this pivot is associated with
-
getDescription
IDistributedActivePivotDescription getDescription()
Gets the distributed pivot's description.- Specified by:
getDescriptionin interfaceIActivePivot- Returns:
- the ActivePivot's description.
-
getDistributedProperties
Properties getDistributedProperties()
Gets thePropertiesspecific to the distributed pivot's configuration.- Returns:
- the
Propertiesspecific to the distributed pivot's configuration
-
useApplicationMeasureNames
boolean useApplicationMeasureNames()
Indicates if the application name must be used to prefix measure names.- Returns:
- the current value for
IDistributedActivePivotInstanceDescription.APPLICATION_MEASURE_NAMES
-
-