Class NewtsConverterUtils


  • public class NewtsConverterUtils
    extends Object
    Provides methods to convert between the Timeseries API world and Newts.
    • Constructor Detail

      • NewtsConverterUtils

        public NewtsConverterUtils()
    • Method Detail

      • samplesToNewtsRowIterator

        public static Iterator<org.opennms.newts.api.Results.Row<org.opennms.newts.api.Sample>> samplesToNewtsRowIterator​(org.opennms.integration.api.v1.timeseries.TimeSeriesData allDataPoints)
      • toTimeSeriesDataPoint

        public static org.opennms.integration.api.v1.timeseries.DataPoint toTimeSeriesDataPoint​(org.opennms.newts.api.Results.Row<org.opennms.newts.api.Measurement> row)
      • toInstant

        public static java.time.Instant toInstant​(org.opennms.newts.api.Timestamp timestamp)