@QuartetExtendedPluginValue(intf=com.quartetfs.biz.pivot.postprocessing.IPostProcessor.class,
key="SES")
public class SES
extends com.quartetfs.biz.pivot.postprocessing.impl.AAdvancedPostProcessor<Double>
implements com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor<Double>, IPostProcessorPartitioningManagerAware
| Modifier and Type | Class and Description |
|---|---|
static class |
SES.UnderlyingMeasuresPrefetcher |
| Modifier and Type | Field and Description |
|---|---|
protected com.qfs.agg.IAggregationFunction |
aggregationFunction |
static double |
DEFAULT_RHO |
static String |
ISES_PREFETCHER_NAME |
protected IPostProcessorPartitioningManager |
partitioningManager |
protected IPostProcessorPartitioningManager.Factory |
partitioningManagerFactory |
static String |
PLUGIN_KEY |
protected Double |
rho |
static String |
RHO_PROPERTY |
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo |
riskClassLevel |
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo |
riskFactorLevel |
static String |
SES_PREFETCHER_NAME |
aggregatedMeasureName, ANALYSIS_LEVELS_PROPERTY, analysisLevelsToExpand, continuousQueryHandlerKeys, derivedContextDependencies, evaluator, EVALUATOR, explicitContextDependencies, logger, measuresProvider, name, OUTPUT_TYPE, outputType, pivot, prefetchers, PRINT_TIMINGS, printTimings, properties, underlyingMeasuresDEFAULT_PARTITIONING_ON_RANGE_LEVELS, DEFAULT_PARTITIONING_ON_RANGE_LEVELS_PROPERTYCONTINUOUS_QUERY_HANDLER_KEYS, IS_PARTITIONED_ON_RANGE_LEVELS_PROPERTY, SEPARATOR, UNDERLYING_MEASURESPROPERTY_NAME| Constructor and Description |
|---|
SES(String name,
com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext) |
| Modifier and Type | Method and Description |
|---|---|
static Double |
calculateSES(double rho,
double sesSum,
double sesSumSq,
Map<String,Double> isesSumSq) |
static Double |
calculateSES(double rho,
Double sesSum,
Double sesSumSq,
Map<String,Double> isesSumSq) |
void |
compute(com.quartetfs.biz.pivot.ILocation location,
com.quartetfs.biz.pivot.query.aggregates.IAdvancedAggregatesRetriever retriever) |
protected com.quartetfs.biz.pivot.postprocessing.IPrefetcher<Void> |
createISESPrefetcher() |
protected com.quartetfs.biz.pivot.postprocessing.IPrefetcher<Void> |
createSESPrefetcher() |
static com.quartetfs.biz.pivot.definitions.IPostProcessorDescription |
getPostProcessorDescription(Properties env,
String measureName,
String esSesMeasure,
String esISesMeasure,
String folder,
boolean visible)
Constructs the postprocessor definition
|
protected double |
getRho()
The value of parameter rho in the SES calculation.
|
String |
getType() |
protected List<com.quartetfs.biz.pivot.cube.hierarchy.IHierarchyInfo> |
hierarchies(String seperator,
String description) |
void |
init(Properties properties) |
protected Collection<com.quartetfs.biz.pivot.ILocation> |
isesPrefetcherComputeLocations(com.quartetfs.biz.pivot.ILocation location) |
protected Map<com.quartetfs.biz.pivot.cube.hierarchy.IHierarchyInfo,com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo> |
levels(String seperator,
String description) |
void |
reduce(com.quartetfs.biz.pivot.ILocation location,
List<com.quartetfs.biz.pivot.cellset.IAggregatesRetrievalResult> partialResults,
com.quartetfs.biz.pivot.cellset.IPostProcessedRetrievalResultWriter writer) |
protected Collection<com.quartetfs.biz.pivot.ILocation> |
sesPrefetcherComputeLocations(com.quartetfs.biz.pivot.ILocation location) |
void |
setPartitioningLevels(com.quartetfs.biz.pivot.ILocation location,
Collection<com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo> partitioningLevels) |
void |
setPartitioningManagerFactory(IPostProcessorPartitioningManager.Factory partitioningManagerFactory) |
addContextDependency, checkInterruption, checkOutputType, 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, initializeUnderlyingMeasures, removeAnalysisLevelsFromFilter, restrictLocationAnalysisLevels, retrieveAnalysisLevelsToExpand, retrieveNamedPrefetchAggregatesWithAnalysisLevels, retrievePrefetchAggregates, retrievePrefetchAggregatesWithAnalysisLevels, setAggregatedMeasureName, supportsAnalysisLevels, toStringpublic static final String PLUGIN_KEY
public static String ISES_PREFETCHER_NAME
public static String SES_PREFETCHER_NAME
public static final String RHO_PROPERTY
public static final double DEFAULT_RHO
protected Double rho
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo riskFactorLevel
protected com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo riskClassLevel
protected com.qfs.agg.IAggregationFunction aggregationFunction
protected IPostProcessorPartitioningManager.Factory partitioningManagerFactory
protected IPostProcessorPartitioningManager partitioningManager
public SES(String name, com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
public void setPartitioningManagerFactory(IPostProcessorPartitioningManager.Factory partitioningManagerFactory)
setPartitioningManagerFactory in interface IPostProcessorPartitioningManagerAwarepublic String getType()
getType in interface com.quartetfs.fwk.types.IExtendedPluginValuepublic void init(Properties properties) throws com.quartetfs.fwk.QuartetException
public void setPartitioningLevels(com.quartetfs.biz.pivot.ILocation location,
Collection<com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo> partitioningLevels)
public static com.quartetfs.biz.pivot.definitions.IPostProcessorDescription getPostProcessorDescription(Properties env, String measureName, String esSesMeasure, String esISesMeasure, String folder, boolean visible)
env - The properties to help construct the definitionmeasureName - The name of the measureesSesMeasure - The ES SES measureesISesMeasure - The ES ISES measurefolder - The folder to put this measure invisible - The visibility of this measureprotected double getRho()
IRhoSesContextVal context valuepublic void reduce(com.quartetfs.biz.pivot.ILocation location,
List<com.quartetfs.biz.pivot.cellset.IAggregatesRetrievalResult> partialResults,
com.quartetfs.biz.pivot.cellset.IPostProcessedRetrievalResultWriter writer)
reduce in interface com.quartetfs.biz.pivot.postprocessing.IPartitionedPostProcessor<Double>protected Map<com.quartetfs.biz.pivot.cube.hierarchy.IHierarchyInfo,com.quartetfs.biz.pivot.cube.hierarchy.ILevelInfo> levels(String seperator, String description) throws com.quartetfs.fwk.QuartetException
com.quartetfs.fwk.QuartetExceptionprotected List<com.quartetfs.biz.pivot.cube.hierarchy.IHierarchyInfo> hierarchies(String seperator, String description) throws com.quartetfs.fwk.QuartetException
com.quartetfs.fwk.QuartetExceptionpublic void compute(com.quartetfs.biz.pivot.ILocation location,
com.quartetfs.biz.pivot.query.aggregates.IAdvancedAggregatesRetriever retriever)
throws com.quartetfs.fwk.QuartetException
compute in interface com.quartetfs.biz.pivot.postprocessing.IPostProcessor<Double>com.quartetfs.fwk.QuartetExceptionpublic static Double calculateSES(double rho, Double sesSum, Double sesSumSq, Map<String,Double> isesSumSq)
public static Double calculateSES(double rho, double sesSum, double sesSumSq, Map<String,Double> isesSumSq)
protected Collection<com.quartetfs.biz.pivot.ILocation> sesPrefetcherComputeLocations(com.quartetfs.biz.pivot.ILocation location)
protected com.quartetfs.biz.pivot.postprocessing.IPrefetcher<Void> createSESPrefetcher()
protected Collection<com.quartetfs.biz.pivot.ILocation> isesPrefetcherComputeLocations(com.quartetfs.biz.pivot.ILocation location)
protected com.quartetfs.biz.pivot.postprocessing.IPrefetcher<Void> createISESPrefetcher()
Copyright © 2019. All rights reserved.