public class NewtsConverterUtils extends Object
Constructor and Description |
---|
NewtsConverterUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
asMap(Collection<org.opennms.integration.api.v1.timeseries.Tag> tags) |
static Iterator<org.opennms.newts.api.Results.Row<org.opennms.newts.api.Sample>> |
samplesToNewtsRowIterator(List<org.opennms.integration.api.v1.timeseries.Sample> allSamples) |
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)
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)
public static Map<String,String> asMap(Collection<org.opennms.integration.api.v1.timeseries.Tag> tags)
Copyright © 2021. All rights reserved.