Class DataDistributionBinSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<DataDistributionBin>
-
- cern.nxcals.api.backport.domain.core.timeseriesdata.spi.DataDistributionBinSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<DataDistributionBin>
,java.util.Collection<DataDistributionBin>
,java.util.List<DataDistributionBin>
,java.util.RandomAccess
public class DataDistributionBinSet extends java.util.ArrayList<DataDistributionBin> implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataDistributionBinSet(Variable variable, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataset, int binsNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDataDistributionBin(DataDistributionBin dataDistributionBin)
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
DataDistributionBin
getBin(int i)
int
getBinsCount()
TimeseriesDataSetMetaData
getMetaData()
java.lang.String
getMetaDataInfo(LoggingTimeZone timeZone)
Variable
getVariable()
java.lang.String
getVariableName()
int
hashCode()
void
setDataType(VariableDataType dataType)
void
setVariable(Variable variable)
void
setVariableName(java.lang.String variableName)
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Constructor Detail
-
DataDistributionBinSet
public DataDistributionBinSet(Variable variable, org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataset, int binsNumber)
-
-
Method Detail
-
getBinsCount
public int getBinsCount()
-
getBin
public DataDistributionBin getBin(int i)
-
addDataDistributionBin
public void addDataDistributionBin(DataDistributionBin dataDistributionBin)
-
getVariable
public Variable getVariable()
-
getVariableName
public java.lang.String getVariableName()
-
getMetaDataInfo
public java.lang.String getMetaDataInfo(LoggingTimeZone timeZone)
-
getMetaData
public TimeseriesDataSetMetaData getMetaData()
-
setVariable
public void setVariable(Variable variable)
-
setVariableName
public void setVariableName(java.lang.String variableName)
-
setDataType
public void setDataType(VariableDataType dataType)
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Collection<DataDistributionBin>
- Specified by:
equals
in interfacejava.util.List<DataDistributionBin>
- Overrides:
equals
in classjava.util.ArrayList<DataDistributionBin>
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Collection<DataDistributionBin>
- Specified by:
hashCode
in interfacejava.util.List<DataDistributionBin>
- Overrides:
hashCode
in classjava.util.ArrayList<DataDistributionBin>
-
-