public class NewtsConverterUtils extends Object
| Constructor and Description | 
|---|
NewtsConverterUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Iterator<org.opennms.newts.api.Results.Row<org.opennms.newts.api.Sample>> | 
samplesToNewtsRowIterator(List<org.opennms.integration.api.v1.timeseries.Sample> allSamples,
                         List<Source> listOfSources)  | 
static java.time.Instant | 
toInstant(org.opennms.newts.api.Timestamp timestamp)  | 
static org.opennms.integration.api.v1.timeseries.Sample | 
toTimeseriesSample(org.opennms.newts.api.Results.Row<org.opennms.newts.api.Measurement> row,
                  org.opennms.integration.api.v1.timeseries.Metric metric)  | 
public static Iterator<org.opennms.newts.api.Results.Row<org.opennms.newts.api.Sample>> samplesToNewtsRowIterator(List<org.opennms.integration.api.v1.timeseries.Sample> allSamples, List<Source> listOfSources)
public static org.opennms.integration.api.v1.timeseries.Sample toTimeseriesSample(org.opennms.newts.api.Results.Row<org.opennms.newts.api.Measurement> row,
                                                                                  org.opennms.integration.api.v1.timeseries.Metric metric)
public static java.time.Instant toInstant(org.opennms.newts.api.Timestamp timestamp)
Copyright © 2020. All rights reserved.