org.influxdb.querybuilder.clauses.NestedClause 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 static org.influxdb.querybuilder.Appender.joinAndAppend;
import java.util.List;
public class NestedClause implements Clause {
private final List conjunctionClauses;
public NestedClause(final List conjunctionClauses) {
this.conjunctionClauses = conjunctionClauses;
}
@Override
public void appendTo(final StringBuilder stringBuilder) {
stringBuilder.append("(");
joinAndAppend(stringBuilder, conjunctionClauses);
stringBuilder.append(")");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy