VariableState Class
- java.
lang. Object - com.
azure. ai. anomalydetector. models. VariableState
- com.
public final class VariableState
Variable Status.
Constructor Summary
Constructor | Description |
---|---|
VariableState() |
Creates an instance of Variable |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
getEffectiveCount()
Get the effective |
Double |
getFilledNARatio()
Get the filled |
Offset |
getFirstTimestamp()
Get the first |
Offset |
getLastTimestamp()
Get the last |
String |
getVariable()
Get the variable property: Variable name in variable states. |
Variable |
setEffectiveCount(Integer effectiveCount)
Set the effective |
Variable |
setFilledNARatio(Double filledNARatio)
Set the filled |
Variable |
setFirstTimestamp(OffsetDateTime firstTimestamp)
Set the first |
Variable |
setLastTimestamp(OffsetDateTime lastTimestamp)
Set the last |
Variable |
setVariable(String variable)
Set the variable property: Variable name in variable states. |
Methods inherited from java.lang.Object
Constructor Details
VariableState
public VariableState()
Creates an instance of VariableState class.
Method Details
getEffectiveCount
public Integer getEffectiveCount()
Get the effectiveCount property: Number of effective data points before applying fillNAMethod.
Returns:
getFilledNARatio
public Double getFilledNARatio()
Get the filledNARatio property: Proportion of missing values that need to be filled by fillNAMethod.
Returns:
getFirstTimestamp
public OffsetDateTime getFirstTimestamp()
Get the firstTimestamp property: First valid timestamp with value of input data.
Returns:
getLastTimestamp
public OffsetDateTime getLastTimestamp()
Get the lastTimestamp property: Last valid timestamp with value of input data.
Returns:
getVariable
public String getVariable()
Get the variable property: Variable name in variable states.
Returns:
setEffectiveCount
public VariableState setEffectiveCount(Integer effectiveCount)
Set the effectiveCount property: Number of effective data points before applying fillNAMethod.
Parameters:
Returns:
setFilledNARatio
public VariableState setFilledNARatio(Double filledNARatio)
Set the filledNARatio property: Proportion of missing values that need to be filled by fillNAMethod.
Parameters:
Returns:
setFirstTimestamp
public VariableState setFirstTimestamp(OffsetDateTime firstTimestamp)
Set the firstTimestamp property: First valid timestamp with value of input data.
Parameters:
Returns:
setLastTimestamp
public VariableState setLastTimestamp(OffsetDateTime lastTimestamp)
Set the lastTimestamp property: Last valid timestamp with value of input data.
Parameters:
Returns:
setVariable
public VariableState setVariable(String variable)
Set the variable property: Variable name in variable states.
Parameters:
Returns: