Class PnLDistributionPostProcessor
- java.lang.Object
-
- com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor<OutputType>
-
- com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<Double>
-
- com.activeviam.risk.core.postprocessor.impl.PnLDistributionPostProcessor
-
- All Implemented Interfaces:
com.quartetfs.biz.pivot.postprocessing.IAggregatedMeasureAware
,com.quartetfs.biz.pivot.postprocessing.IBasicPostProcessor<Double>
,com.quartetfs.biz.pivot.postprocessing.IEvaluator<Double>
,com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor<Double>
,com.quartetfs.biz.pivot.postprocessing.IPostProcessor<Double>
,com.quartetfs.fwk.types.IExtendedPluginValue
,Serializable
@QuartetExtendedPluginValue(intf=com.quartetfs.biz.pivot.postprocessing.IPostProcessor.class, key="PnLDistributionPostProcessor") public class PnLDistributionPostProcessor extends com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<Double>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCUMULATE
protected double
maximumBucketNumber
static String
PLUGIN_KEY
-
Fields inherited from class com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
BASIC_POST_PROCESSOR_PREFETCHER, isPartitionedOnRangeLevels
-
Fields inherited from class com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor
aggregatedMeasureName, ANALYSIS_LEVELS_PROPERTY, analysisLevelsToExpand, continuousQueryHandlerKeys, derivedContextDependencies, evaluator, EVALUATOR, explicitContextDependencies, logger, measuresProvider, name, OUTPUT_TYPE, outputType, pivot, prefetchers, PRINT_TIMINGS, printTimings, properties, underlyingMeasures
-
-
Constructor Summary
Constructors Constructor Description PnLDistributionPostProcessor(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
protected int
getNumberOfSlices()
static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,com.activeviam.desc.build.IHasAtLeastOneMeasure>
getPostProcessorDescription(String measureName, String underlyingMeasure, String analysisLevel, org.springframework.core.env.Environment env, Boolean accumulate, String formatter, String folder)
String
getType()
void
init(Properties properties)
static com.activeviam.copper.api.CopperMeasure
measure(com.activeviam.copper.api.CopperMeasure underlyingMeasure, String analysisLevel, org.springframework.core.env.Environment env, Boolean accumulate)
void
setEnv(org.springframework.core.env.Environment env)
-
Methods inherited from class com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
checkPrefetchers, compute, computePrefetchFilter, createPrefetchers, createProcedure, evaluate, initializeUnderlyingMeasures, reduce, setPartitioningLevels, supportsAnalysisLevels
-
Methods inherited from class com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor
addContextDependency, checkInterruption, checkOutputType, computeNamePath, computeOutputType, createEvaluator, expandResult, getActivePivot, getContext, getContextDependencies, getContinuousQueryHandlerKeys, getCurrentMeasure, getDatastoreVersion, getDerivedContextDependencies, getExpansionProcedure, getGenericOutputType, getMeasuresProvider, getName, getOutputType, getOutputTypeFromGenericClassParameter, getOutputTypeFromProperties, getPrefetchers, getProperties, getQueryCache, getTypeFromClass, handleCircularDependency, handleNotSupportedAnalysisLevels, handleUnknownUnderlyingMeasure, hideEvaluator, initializeContinuousQueryHandlerKeys, removeAnalysisLevelsFromFilter, restrictLocationAnalysisLevels, retrieveAnalysisLevelsToExpand, retrieveNamedPrefetchAggregatesWithAnalysisLevels, retrievePrefetchAggregates, retrievePrefetchAggregatesWithAnalysisLevels, setAggregatedMeasureName, toString
-
-
-
-
Field Detail
-
PLUGIN_KEY
public static final String PLUGIN_KEY
- See Also:
- Constant Field Values
-
ACCUMULATE
public static final String ACCUMULATE
- See Also:
- Constant Field Values
-
maximumBucketNumber
protected double maximumBucketNumber
-
-
Constructor Detail
-
PnLDistributionPostProcessor
public PnLDistributionPostProcessor(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
Constructor- Parameters:
name
- The name of the post-processorcreationContext
- Thecreation context
of this post-processor.
-
-
Method Detail
-
setEnv
public void setEnv(org.springframework.core.env.Environment env)
-
getPostProcessorDescription
public static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,com.activeviam.desc.build.IHasAtLeastOneMeasure> getPostProcessorDescription(String measureName, String underlyingMeasure, String analysisLevel, org.springframework.core.env.Environment env, Boolean accumulate, String formatter, String folder)
-
measure
public static com.activeviam.copper.api.CopperMeasure measure(com.activeviam.copper.api.CopperMeasure underlyingMeasure, String analysisLevel, org.springframework.core.env.Environment env, Boolean accumulate)
-
getType
public String getType()
-
init
public void init(Properties properties) throws com.quartetfs.fwk.QuartetException
- Specified by:
init
in interfacecom.quartetfs.biz.pivot.postprocessing.IEvaluator<Double>
- Specified by:
init
in interfacecom.quartetfs.biz.pivot.postprocessing.IPostProcessor<Double>
- Overrides:
init
in classcom.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<Double>
- Throws:
com.quartetfs.fwk.QuartetException
-
evaluate
public Double evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
-
getNumberOfSlices
protected int getNumberOfSlices()
-
-