Class RegexpFilteringPostProcessor<OutputType>

  • All Implemented Interfaces:
    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

    @QuartetExtendedPluginValue(intf=com.quartetfs.biz.pivot.postprocessing.IPostProcessor.class,
                                key="REGEXP_FILTERING")
    public class RegexpFilteringPostProcessor<OutputType>
    extends com.quartetfs.biz.pivot.postprocessing.impl.AFilteringPostProcessor<OutputType>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor

        com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor.BasicPostProcessorPrefetcher, com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor.TransformationProcedure
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String FILTERING_MEMBERS
      Property specifying a set of filtering members for each leaf level
      static String LEVELS_PROPERTY
      The key of the property whose value is the list of levels having a condition.
      protected static Logger LOGGER
      The logger
      static String PLUGIN_KEY
      Plugin type of this post processor: "REGEXP_FILTERING"
      • Fields inherited from class com.quartetfs.biz.pivot.postprocessing.impl.AFilteringPostProcessor

        conditions, levels, postProcessorFilter
      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      RegexpFilteringPostProcessor​(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
      static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,​com.activeviam.desc.build.IHasAtLeastOneMeasure> getPostProcessorDescription​(String measureName, String underlyingMeasures, String regexp, String filteringLvl, String folder)  
      String getType()  
      protected void initLevelsAndConditions​(Properties properties)  
      static com.activeviam.copper.api.CopperMeasure measure​(com.activeviam.copper.api.CopperMeasure underlyingMeasures, String regexp, String filteringLvl)  
      • Methods inherited from class com.quartetfs.biz.pivot.postprocessing.impl.AFilteringPostProcessor

        compute, computePrefetchFilter, evaluate, handleNoEvaluator, init, initPostProcessorFilter, retrievePrefetchAggregates
      • Methods inherited from class com.quartetfs.biz.pivot.postprocessing.impl.ABasicPostProcessor

        checkPrefetchers, 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, retrievePrefetchAggregatesWithAnalysisLevels, setAggregatedMeasureName, toString
      • Methods inherited from interface com.quartetfs.biz.pivot.postprocessing.IPostProcessor

        getContextDependencies, getContinuousQueryHandlerKeys, getName, getOutputType, getPrefetchers, getProperties
    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
        The logger
      • PLUGIN_KEY

        public static final String PLUGIN_KEY
        Plugin type of this post processor: "REGEXP_FILTERING"
        See Also:
        Constant Field Values
      • LEVELS_PROPERTY

        public static final String LEVELS_PROPERTY
        The key of the property whose value is the list of levels having a condition.

        Its value is "leafLevels" for backwards compatibility with the previous implementation of the Filtering post-processor.

        See Also:
        Constant Field Values
      • FILTERING_MEMBERS

        public static final String FILTERING_MEMBERS
        Property specifying a set of filtering members for each leaf level
        See Also:
        Constant Field Values
    • Constructor Detail

      • RegexpFilteringPostProcessor

        public RegexpFilteringPostProcessor​(String name,
                                            com.quartetfs.biz.pivot.cube.hierarchy.measures.IPostProcessorCreationContext creationContext)
        Constructor.
        Parameters:
        name - the name of the post-processor
        creationContext - the creation context
    • Method Detail

      • getPostProcessorDescription

        public static Function<com.activeviam.desc.build.ICanStartBuildingMeasures,​com.activeviam.desc.build.IHasAtLeastOneMeasure> getPostProcessorDescription​(String measureName,
                                                                                                                                                                      String underlyingMeasures,
                                                                                                                                                                      String regexp,
                                                                                                                                                                      String filteringLvl,
                                                                                                                                                                      String folder)
      • measure

        public static com.activeviam.copper.api.CopperMeasure measure​(com.activeviam.copper.api.CopperMeasure underlyingMeasures,
                                                                      String regexp,
                                                                      String filteringLvl)
      • initLevelsAndConditions

        protected void initLevelsAndConditions​(Properties properties)
                                        throws com.quartetfs.fwk.QuartetException
        Specified by:
        initLevelsAndConditions in class com.quartetfs.biz.pivot.postprocessing.impl.AFilteringPostProcessor<OutputType>
        Throws:
        com.quartetfs.fwk.QuartetException
      • getType

        public String getType()