org.influxdb.querybuilder.time.TimeInterval Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of influxdb-java Show documentation
Show all versions of influxdb-java Show documentation
Java API to access the InfluxDB REST API
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