All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.influxdb.querybuilder.time.TimeInterval Maven / Gradle / Ivy

The newest version!
package org.influxdb.querybuilder.time;

import org.influxdb.querybuilder.Appendable;

public class TimeInterval implements Appendable {

  private final Long measure;
  private final String literal;

  public TimeInterval(final Long measure, final String literal) {
    this.measure = measure;
    this.literal = literal;
  }

  @Override
  public void appendTo(final StringBuilder stringBuilder) {
    stringBuilder.append(measure).append(literal);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy