org.influxdb.querybuilder.clauses.RawTextClause 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 org.influxdb.querybuilder.Appender;
import org.influxdb.querybuilder.RawText;
public class RawTextClause extends AbstractClause {
private final RawText value;
public RawTextClause(final String text) {
super("");
this.value = new RawText(text);
if (text == null) {
throw new IllegalArgumentException("Missing text for expression");
}
}
@Override
public void appendTo(final StringBuilder stringBuilder) {
Appender.appendValue(value, stringBuilder);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy