Class AVaRPostProcessor<OutputType>
- java.lang.Object
-
- com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor<OutputType>
-
- com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<OutputType>
-
- com.activeviam.risk.core.postprocessor.impl.AVaRPostProcessor<OutputType>
-
- All Implemented Interfaces:
ITailMeasureCalcAware
,com.quartetfs.biz.pivot.postprocessing.IAggregatedMeasureAware
,com.quartetfs.biz.pivot.postprocessing.IBasicPostProcessor<OutputType>
,com.quartetfs.biz.pivot.postprocessing.IEvaluator<OutputType>
,com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor<OutputType>
,com.quartetfs.biz.pivot.postprocessing.IPostProcessor<OutputType>
,com.quartetfs.fwk.types.IExtendedPluginValue
,Serializable
- Direct Known Subclasses:
AWeightedVaRPostProcessor
,IncrementalVaRPostProcessor
,ParametricVaRPostProcessor
,ScalarVaRPostProcessor
,VaRIndicesPostProcessor
,VaRPostProcessor
public abstract class AVaRPostProcessor<OutputType> extends com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<OutputType> implements ITailMeasureCalcAware
This class handles the confidence level and the Calc IF- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double
defaultConfidence
static String
FIXED_CONFIDENCE_LEVEL_PROPERTY
protected Double
fixedConfidence
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo
quantile2RankLevelInfo
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo
roundingLevelInfo
protected ITailMeasureCalc
tailMeasureCalc
-
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
-
Fields inherited from interface com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor
DEFAULT_PARTITIONING_ON_RANGE_LEVELS
-
Fields inherited from interface com.quartetfs.biz.pivot.postprocessing.IPostProcessor
CONTINUOUS_QUERY_HANDLER_KEYS, IS_PARTITIONED_ON_RANGE_LEVELS_PROPERTY, SEPARATOR, UNDERLYING_MEASURES
-
Fields inherited from interface com.activeviam.risk.core.calc.ITailMeasureCalcAware
PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description AVaRPostProcessor(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 protected double
getConfidenceLevel()
Retrieves the confidence level from theIVaRConfidenceLevel
context value if it has been set, the default otherwise.protected double
getVaRTimePeriod()
protected static double
getVaRTimePeriod(IVaRTimePeriod varTimePeriodContext)
void
init(Properties properties)
void
setTailMeasureCalc(ITailMeasureCalc tailMeasureCalc)
Set the implementation ofITailMeasureCalc
-
Methods inherited from class com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor
checkPrefetchers, compute, computePrefetchFilter, createPrefetchers, createProcedure, evaluate, 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
-
FIXED_CONFIDENCE_LEVEL_PROPERTY
public static final String FIXED_CONFIDENCE_LEVEL_PROPERTY
- See Also:
- Constant Field Values
-
fixedConfidence
protected Double fixedConfidence
-
defaultConfidence
protected double defaultConfidence
-
tailMeasureCalc
protected ITailMeasureCalc tailMeasureCalc
-
roundingLevelInfo
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo roundingLevelInfo
-
quantile2RankLevelInfo
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo quantile2RankLevelInfo
-
-
Constructor Detail
-
AVaRPostProcessor
public AVaRPostProcessor(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
-
init
public void init(Properties properties) throws com.quartetfs.fwk.QuartetException
- Specified by:
init
in interfacecom.quartetfs.biz.pivot.postprocessing.IEvaluator<OutputType>
- Specified by:
init
in interfacecom.quartetfs.biz.pivot.postprocessing.IPostProcessor<OutputType>
- Overrides:
init
in classcom.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<OutputType>
- Throws:
com.quartetfs.fwk.QuartetException
-
getConfidenceLevel
protected double getConfidenceLevel()
Retrieves the confidence level from theIVaRConfidenceLevel
context value if it has been set, the default otherwise.- Returns:
- The confidence level.
-
getVaRTimePeriod
protected static double getVaRTimePeriod(IVaRTimePeriod varTimePeriodContext)
-
getVaRTimePeriod
protected double getVaRTimePeriod()
-
setTailMeasureCalc
public void setTailMeasureCalc(ITailMeasureCalc tailMeasureCalc)
Description copied from interface:ITailMeasureCalcAware
Set the implementation ofITailMeasureCalc
- Specified by:
setTailMeasureCalc
in interfaceITailMeasureCalcAware
- Parameters:
tailMeasureCalc
- the implementation ofITailMeasureCalc
-
-