public class RRA extends AbstractRRA
Warning: This representation doesn't support Aberrant Behavior Detection with Holt-Winters Forecasting
Constructor and Description |
---|
RRA() |
Modifier and Type | Method and Description |
---|---|
protected AbstractRRA |
createSingleRRA(int dsIndex)
Creates a RRA with a single data source.
|
boolean |
formatEquals(RRA rra)
Format equals.
|
boolean |
formatMergeable(AbstractRRA sourceRra)
Format mergeable.
|
CFType |
getConsolidationFunction()
Gets the consolidation function.
|
List<RRADS> |
getDataSources()
Gets the data sources.
|
Double |
getXff()
Gets the XFF.
|
boolean |
hasAverageAsCF()
Checks for average as consolidation function.
|
void |
setConsolidationFunction(CFType consolidationFunction)
Sets the consolidation function.
|
void |
setConsolidationFunction(String consolidationFunction)
Sets the consolidation function.
|
void |
setDataSources(List<RRADS> dataSources)
Sets the data sources.
|
void |
setXff(Double xff)
Sets the XFF.
|
formatEquals, getPdpPerRow, getRows, setPdpPerRow, setRows
public CFType getConsolidationFunction()
public void setConsolidationFunction(CFType consolidationFunction)
consolidationFunction
- the new consolidation functionpublic void setConsolidationFunction(String consolidationFunction)
consolidationFunction
- the new consolidation functionpublic void setDataSources(List<RRADS> dataSources)
dataSources
- the new data sourcespublic Double getXff()
XFF The xfiles factor defines what part of a consolidation interval may be made up from *UNKNOWN* data while the consolidated value is still regarded as known. It is given as the ratio of allowed *UNKNOWN* PDPs to the number of PDPs in the interval. Thus, it ranges from 0 to 1 (exclusive).
public void setXff(Double xff)
xff
- the new XFFpublic boolean formatEquals(RRA rra)
rra
- the RRA objectprotected AbstractRRA createSingleRRA(int dsIndex) throws IllegalArgumentException
AbstractRRA
createSingleRRA
in class AbstractRRA
dsIndex
- the RRA-DS indexIllegalArgumentException
- the illegal argument exceptionpublic boolean formatMergeable(AbstractRRA sourceRra)
AbstractRRA
Two RRA can be merged if and only if the Consolidation Function and the PDP per row are the same.
The amount of rows is not strict for a merge operation.
formatMergeable
in class AbstractRRA
sourceRra
- the source RRA objectpublic boolean hasAverageAsCF()
AbstractRRA
hasAverageAsCF
in class AbstractRRA
Copyright © 2021. All rights reserved.