Class Count
- java.lang.Object
-
- org.epics.archiverappliance.retrieval.postprocessors.SummaryStatsPostProcessor
-
- org.epics.archiverappliance.retrieval.postprocessors.Count
-
- All Implemented Interfaces:
FillNoFillSupport
,PostProcessor
,PostProcessorWithConsolidatedEventStream
public class Count extends SummaryStatsPostProcessor implements PostProcessor
Counts the number of items in an interval.- Author:
- mshankar
-
-
Field Summary
-
Fields inherited from class org.epics.archiverappliance.retrieval.postprocessors.SummaryStatsPostProcessor
consolidatedData
-
-
Constructor Summary
Constructors Constructor Description Count()
-
Method Summary
Modifier and Type Method Description SummaryStatsCollector
getCollector()
String
getIdentity()
The string used by clients to identify this post processor when making retrieval requests.boolean
zeroOutEmptyBins()
For some post processors, we do fill empty bins but with zeroes instead.-
Methods inherited from class org.epics.archiverappliance.retrieval.postprocessors.SummaryStatsPostProcessor
doNotInheritValuesFromPrevioisBins, estimateMemoryConsumption, getBinTimestamps, getBinTimestamps, getConsolidatedEventStream, getElementCount, getEndBinEpochSeconds, getExtension, getStartBinEpochSeconds, initialize, isProvidingVectorData, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.epics.archiverappliance.retrieval.postprocessors.PostProcessor
estimateMemoryConsumption, getExtension, initialize, wrap
-
-
-
-
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
-
getCollector
public SummaryStatsCollector getCollector()
- Specified by:
getCollector
in classSummaryStatsPostProcessor
-
zeroOutEmptyBins
public boolean zeroOutEmptyBins()
Description copied from interface:FillNoFillSupport
For some post processors, we do fill empty bins but with zeroes instead.- Specified by:
zeroOutEmptyBins
in interfaceFillNoFillSupport
- Overrides:
zeroOutEmptyBins
in classSummaryStatsPostProcessor
- Returns:
- boolean True or False
-
-