Package com.activeviam.risk.starter
Class ConstantPP
- java.lang.Object
-
- com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor<OutputType>
-
- com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
-
- com.activeviam.risk.starter.ConstantPP
-
- All Implemented Interfaces:
com.quartetfs.biz.pivot.postprocessing.IAggregatedMeasureAware
,com.quartetfs.biz.pivot.postprocessing.IBasicPostProcessor
,com.quartetfs.biz.pivot.postprocessing.IEvaluator
,com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor
,com.quartetfs.biz.pivot.postprocessing.IPostProcessor
,com.quartetfs.fwk.types.IExtendedPluginValue
,Serializable
@QuartetExtendedPluginValue(intf=com.quartetfs.biz.pivot.postprocessing.IPostProcessor.class, key="ConstantPP") public class ConstantPP extends com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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 ConstantPP(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 Object
evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
String
getType()
static com.activeviam.copper.api.CopperMeasure
measure(com.activeviam.copper.api.CopperMeasure underlyingMeasure)
This will apply an fx shift to a pnl vector-
Methods inherited from class com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
checkPrefetchers, compute, computePrefetchFilter, createPrefetchers, createProcedure, evaluate, init, 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
-
-
Constructor Detail
-
ConstantPP
public ConstantPP(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
-
evaluate
public Object evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
- Specified by:
evaluate
in interfacecom.quartetfs.biz.pivot.postprocessing.IEvaluator
- Specified by:
evaluate
in classcom.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
-
getType
public String getType()
-
measure
public static com.activeviam.copper.api.CopperMeasure measure(com.activeviam.copper.api.CopperMeasure underlyingMeasure)
This will apply an fx shift to a pnl vector- Parameters:
underlyingMeasure
- the pnl vector- Returns:
- the shifted vector
-
-