org.influxdb.querybuilder.clauses.SimpleFromClause 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
The newest version!
package org.influxdb.querybuilder.clauses;
import static org.influxdb.querybuilder.Appender.appendName;
public class SimpleFromClause extends FromClause {
private final String table;
public SimpleFromClause(final String table) {
if (table == null) {
throw new IllegalArgumentException("Provide a valid table name");
}
this.table = table;
}
@Override
public void appendTo(final StringBuilder stringBuilder) {
appendName(table, stringBuilder);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy