Class ESIndicesPostProcessor
- 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.AESPostProcessor<Integer[]>
-
- com.activeviam.risk.core.postprocessor.impl.ESIndicesPostProcessor
-
- All Implemented Interfaces:
ITailMeasureCalcAware
,com.quartetfs.biz.pivot.postprocessing.IAggregatedMeasureAware
,com.quartetfs.biz.pivot.postprocessing.IBasicPostProcessor<Integer[]>
,com.quartetfs.biz.pivot.postprocessing.IEvaluator<Integer[]>
,com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor<Integer[]>
,com.quartetfs.biz.pivot.postprocessing.IPostProcessor<Integer[]>
,com.quartetfs.fwk.types.IExtendedPluginValue
,Serializable
@QuartetExtendedPluginValue(intf=com.quartetfs.biz.pivot.postprocessing.IPostProcessor.class, key="ESIndicesProcessor") public class ESIndicesPostProcessor extends AESPostProcessor<Integer[]>
Computes the indices for a given PnL vector that contribute to the expected shortfall.
Dependent on theIESConfidenceLevel
context value to define the confidence level to use in the calculation.- Author:
- ActiveViam
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PLUGIN_KEY
-
Fields inherited from class com.activeviam.risk.core.postprocessor.impl.AESPostProcessor
defaultConfidence, FIXED_CONFIDENCE_LEVEL_PROPERTY, fixedConfidence, quantile2RankLevelInfo, roundingLevelInfo, 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 ESIndicesPostProcessor(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer[]
evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
Calculates the expected shortfall indices from a given PnL vector.static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,com.activeviam.desc.build.IHasAtLeastOneMeasure>
getPostProcessorDescription(String measureName, String underlyingMeasure, String roundingMethodLevel, String quantile2RankLevel, String confidenceLevel, String folder)
Description with fixed confidence levelstatic Function<com.activeviam.desc.build.ICanStartBuildingMeasures,com.activeviam.desc.build.IHasAtLeastOneMeasure>
getPostProcessorDescription(String measureName, String underlyingMeasure, String roundingMethodLevel, String quantile2RankLevel, org.springframework.core.env.Environment env, String folder)
Description with parametrable confidence levelString
getType()
-
Methods inherited from class com.activeviam.risk.core.postprocessor.impl.AESPostProcessor
getConfidenceLevel, getVaRTimePeriod, init, setTailMeasureCalc
-
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
-
-
Constructor Detail
-
ESIndicesPostProcessor
public ESIndicesPostProcessor(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
-
-
Method Detail
-
getPostProcessorDescription
public static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,com.activeviam.desc.build.IHasAtLeastOneMeasure> getPostProcessorDescription(String measureName, String underlyingMeasure, String roundingMethodLevel, String quantile2RankLevel, String confidenceLevel, String folder)
Description with fixed confidence level- Parameters:
measureName
- measure nameunderlyingMeasure
- underlying measureroundingMethodLevel
- rounding method levelquantile2RankLevel
- quantile method levelconfidenceLevel
- confidence levelfolder
- folder- Returns:
- measure builder
-
getPostProcessorDescription
public static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,com.activeviam.desc.build.IHasAtLeastOneMeasure> getPostProcessorDescription(String measureName, String underlyingMeasure, String roundingMethodLevel, String quantile2RankLevel, org.springframework.core.env.Environment env, String folder)
Description with parametrable confidence level- Parameters:
measureName
- measure nameunderlyingMeasure
- underlying measureroundingMethodLevel
- rounding method levelquantile2RankLevel
- quantile method levelenv
- environmentfolder
- folder- Returns:
- measure builder
-
evaluate
public Integer[] evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
Calculates the expected shortfall indices from a given PnL vector. Takes one underlying measure:- The PnL vector.
-
getType
public String getType()
-
-