Class LimitsPostProcessor
- java.lang.Object
-
- com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor<OutputType>
-
- com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<Double>
-
- com.activeviam.risk.core.postprocessor.limits.impl.LimitsPostProcessor
-
- All Implemented Interfaces:
IFXRatesAware
,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="LimitsPostProcessor") public class LimitsPostProcessor extends com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor<Double> implements IFXRatesAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
AS_OF_DATE_LEVEL_PROPERTY
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo
asOfDateLevelInfo
protected IFXRates
fxRates
static String
LIMIT_FIELD_PROPERTY
static String
LIMIT_LEVEL_PROPERTY
protected String
limitField
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo
limitLevelInfo
static String
MARKET_DATA_SET_LEVEL_PROPERTY
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo
marketDataSetLevelInfo
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
-
Fields inherited from interface com.activeviam.risk.core.services.IFXRatesAware
PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description LimitsPostProcessor(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
protected Double
getRate(LocalDate date, String currency, String refCurrency, List<Object> leafCoordinates, String marketDataSet)
String
getType()
void
init(Properties properties)
void
setFxRates(IFXRates fxRates)
-
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
-
AS_OF_DATE_LEVEL_PROPERTY
public static final String AS_OF_DATE_LEVEL_PROPERTY
- See Also:
- Constant Field Values
-
MARKET_DATA_SET_LEVEL_PROPERTY
public static final String MARKET_DATA_SET_LEVEL_PROPERTY
- See Also:
- Constant Field Values
-
LIMIT_LEVEL_PROPERTY
public static final String LIMIT_LEVEL_PROPERTY
- See Also:
- Constant Field Values
-
LIMIT_FIELD_PROPERTY
public static final String LIMIT_FIELD_PROPERTY
- See Also:
- Constant Field Values
-
asOfDateLevelInfo
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo asOfDateLevelInfo
-
marketDataSetLevelInfo
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo marketDataSetLevelInfo
-
limitLevelInfo
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo limitLevelInfo
-
limitField
protected String limitField
-
fxRates
protected IFXRates fxRates
-
-
Constructor Detail
-
LimitsPostProcessor
public LimitsPostProcessor(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
-
-
Method Detail
-
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
-
getType
public String getType()
- Specified by:
getType
in interfacecom.quartetfs.fwk.types.IExtendedPluginValue
-
evaluate
public Double evaluate(com.quartetfs.biz.pivot.ILocation location, Object[] underlyingMeasures)
-
getRate
protected Double getRate(LocalDate date, String currency, String refCurrency, List<Object> leafCoordinates, String marketDataSet)
-
setFxRates
public void setFxRates(IFXRates fxRates)
- Specified by:
setFxRates
in interfaceIFXRatesAware
-
-