Class Statistics
- java.lang.Object
-
- org.epics.archiverappliance.retrieval.postprocessors.SummaryStatsPostProcessor
-
- org.epics.archiverappliance.retrieval.postprocessors.Statistics
-
- All Implemented Interfaces:
FillNoFillSupport
,PostProcessor
,PostProcessorWithConsolidatedEventStream
public class Statistics extends SummaryStatsPostProcessor
Statistics
is a post processor which provides a set of statistical numbers for a specific bin. The order of parameters is: mean, std, min, max, count.- Author:
- Jaka Bobnar
-
-
Field Summary
-
Fields inherited from class org.epics.archiverappliance.retrieval.postprocessors.SummaryStatsPostProcessor
consolidatedData
-
-
Constructor Summary
Constructors Constructor Description Statistics()
-
Method Summary
Modifier and Type Method Description SummaryStatsVectorCollector
getCollector()
int
getElementCount()
String
getIdentity()
The string used by clients to identify this post processor when making retrieval requests.boolean
isProvidingVectorData()
-
Methods inherited from class org.epics.archiverappliance.retrieval.postprocessors.SummaryStatsPostProcessor
doNotInheritValuesFromPrevioisBins, estimateMemoryConsumption, getBinTimestamps, getBinTimestamps, getConsolidatedEventStream, getEndBinEpochSeconds, getExtension, getStartBinEpochSeconds, initialize, wrap, zeroOutEmptyBins
-
-
-
-
Field Detail
-
IDENTITY
public static final String IDENTITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdentity
public String getIdentity()
Description copied from interface:PostProcessor
The string used by clients to identify this post processor when making retrieval requests. For example to identify the FirstSamplePP postprocessor, users would add a pp=firstSample to the request for data. The situation is a little more complex; if a post processor has parameters then it needs to combine these into a string and offer that as an extension. The identity is just the starting part of this.- For example, pp=firstSample_600 asks the server to sparsify with an interval of 600 seconds.
- identity is firstSample.
- extension is firstSample_600.
- User specifies firstSample_600.
- ETL caches the data as firstSample_600 if asked to.
- Specified by:
getIdentity
in interfacePostProcessor
- Specified by:
getIdentity
in classSummaryStatsPostProcessor
- Returns:
- identify
-
getElementCount
public int getElementCount()
- Overrides:
getElementCount
in classSummaryStatsPostProcessor
- Returns:
- the number of elements per sample that this post processor provides
-
isProvidingVectorData
public boolean isProvidingVectorData()
- Overrides:
isProvidingVectorData
in classSummaryStatsPostProcessor
- Returns:
- true if this post processor is providing an array (list) of data, or false if a single value is provided
-
getCollector
public SummaryStatsVectorCollector getCollector()
- Specified by:
getCollector
in classSummaryStatsPostProcessor
-
-