public class InfluxQLQuery extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InfluxQLQuery.InfluxQLPrecision
The precision used for the timestamps returned by InfluxQL queries.
|
| Constructor and Description |
|---|
InfluxQLQuery(String command,
String database) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand() |
String |
getDatabase() |
InfluxQLQuery.InfluxQLPrecision |
getPrecision() |
String |
getRetentionPolicy() |
InfluxQLQuery |
setPrecision(InfluxQLQuery.InfluxQLPrecision precision) |
InfluxQLQuery |
setRetentionPolicy(String retentionPolicy) |
@Nullable public String getRetentionPolicy()
@Nonnull public InfluxQLQuery setRetentionPolicy(@Nullable String retentionPolicy)
retentionPolicy - the retention policy to use@Nullable public InfluxQLQuery.InfluxQLPrecision getPrecision()
@Nonnull public InfluxQLQuery setPrecision(@Nullable InfluxQLQuery.InfluxQLPrecision precision)
precision - The precision used for the timestamps returned by the queryCopyright © 2018–2023 InfluxData, Inc.. All rights reserved.