org.influxdb.querybuilder.clauses.SubQueryFromClause 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.clauses;
import org.influxdb.querybuilder.QueryStringBuilder;
public class SubQueryFromClause extends FromClause {
private final QueryStringBuilder queryStringBuilder;
public SubQueryFromClause(final QueryStringBuilder queryStringBuilder) {
if (queryStringBuilder == null) {
throw new IllegalArgumentException("Provide a valid value");
}
this.queryStringBuilder = queryStringBuilder;
}
@Override
public void appendTo(final StringBuilder stringBuilder) {
stringBuilder.append("(");
queryStringBuilder.buildQueryString(stringBuilder);
stringBuilder.append(")");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy