Package com.activeviam.copper
Class DataCubeMeasurePublisher
- java.lang.Object
-
- com.activeviam.copper.AMeasurePublisher
-
- com.activeviam.copper.DataCubeMeasurePublisher
-
- All Implemented Interfaces:
com.activeviam.copper.private_.IMeasurePublisher
public class DataCubeMeasurePublisher extends AMeasurePublisher
Concrete implementation of anIMeasurePublisherfor data cubes.- Author:
- ActiveViam
-
-
Field Summary
-
Fields inherited from class com.activeviam.copper.AMeasurePublisher
measureOptimizer
-
-
Constructor Summary
Constructors Constructor Description DataCubeMeasurePublisher(DataCubeContext context, IActivePivotDescription pivotDescription, String applicationId)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IInternalCopperMeasuregetPublishedInstance(IInternalCopperMeasure measure)Returns the published version of the given measure i.e the one that underwent some optimization.-
Methods inherited from class com.activeviam.copper.AMeasurePublisher
addPublicationMetadata, getCubeMeasureDescription, getMeasureNameProvider, getMeasuresToPublish, getOrComputeMeasureType, getOriginalMeasureInstance, getPublishedMeasureDescription, publish, retrieveMeasureDescription, shouldMeasureNameBeUnique
-
-
-
-
Constructor Detail
-
DataCubeMeasurePublisher
public DataCubeMeasurePublisher(DataCubeContext context, IActivePivotDescription pivotDescription, String applicationId)
Constructor.- Parameters:
context- context used to publish measurespivotDescription- the pivot descriptionapplicationId- the application id
-
-
Method Detail
-
getPublishedInstance
public IInternalCopperMeasure getPublishedInstance(IInternalCopperMeasure measure)
Returns the published version of the given measure i.e the one that underwent some optimization.- Parameters:
measure- the measure before publication- Returns:
- the new instance used for publication
-
-