org.influxdb.querybuilder.clauses.MultipleFromClause 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.joinAndAppendNames;
import java.util.List;
public class MultipleFromClause extends FromClause {
private final List tables;
public MultipleFromClause(final List tables) {
if (tables == null || tables.size() == 0) {
throw new IllegalArgumentException("Tables names should be specified");
}
this.tables = tables;
}
@Override
public void appendTo(final StringBuilder stringBuilder) {
joinAndAppendNames(stringBuilder, tables);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy