Package com.qfs.distribution
Interface IDistributedActivePivot
- All Superinterfaces:
IActivePivot,IQueryable
- All Known Subinterfaces:
IDistributedActivePivotVersion
- All Known Implementing Classes:
DistributedActivePivotVersion
A proxy
IActivePivot that distributes a local IActivePivot.- Author:
- ActiveViam
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumIn 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
Modifier and TypeMethodDescriptioncreateQueryTranslator(String dataCubeAddress) Creates atranslatorresponsible for filter and location translation between the query cube and the local data cube.Returns thecontext.Returns theIDistributedActivePivot.DataReplicationpolicy for handlinghierarchiesthat do not appear in all local cubes.Gets the distributed pivot's description.Gets thePropertiesspecific to the distributed pivot's configuration.Gets the locality identifier.Set of measure names which mustn't be retrieved if the queried location causes replication.Gets the messenger for distributed communication.longbooleanIndicates 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, isEmptyMethods inherited from interface com.quartetfs.fwk.query.IQueryable
execute, getSupportedQueries
-
Method Details
-
getContext
IDistributedActivePivotContext getContext()Description copied from interface:IActivePivotReturns thecontext.- Specified by:
getContextin interfaceIActivePivot- Returns:
- The context.
- See Also:
-
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
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
-
getMeasuresWithoutReplication
Set of measure names which mustn't be retrieved if the queried location causes replication.
-