public class DataInsertBuilder extends Object
| Constructor and Description |
|---|
DataInsertBuilder()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDoubleData(long metricId,
long timestamp,
double data)
addDoubleData is used to add Data for a metric that has the type DOUBLE.
|
DataInsert |
build()
build will return a new DataInsert object, containing the serialized data
for DataStore Insert API Call.
|
public void addDoubleData(long metricId,
long timestamp,
double data)
metricId - the id of the metric.timestamp - the UNIX timestamp for the value.data - the value for the metricId.public DataInsert build()
IOExceptionCopyright © 2016. All rights reserved.