AI-generated Key Takeaways
-
The DataSet.Builder is used to create new data sets.
-
You can add data points to the data set using the
addoraddAllmethods. -
The
buildmethod finishes the building process and returns the completed DataSet.
Builder used to create new data
sets
.
Public Method Summary
| DataSet.Builder | |
| DataSet.Builder | |
| DataSet |
Inherited Method Summary
Public Methods
public DataSet.Builder add ( DataPoint dataPoint)
Adds a data point to this data set. The data points should be for the correct data type and data source, and should have its timestamp already set.
Throws
public DataSet.Builder addAll ( Iterable < DataPoint > dataPoints)
Adds a list of data points to this data set in bulk. All data points should be for the correct data type and data source, and should have their timestamp already set.
Throws
dataPoints
have the wrong source, or contain invalid
data.
