public class Query extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Query.TypeEnum
The type of query.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_DIALECT |
static String |
SERIALIZED_NAME_EXTERN |
static String |
SERIALIZED_NAME_NOW |
static String |
SERIALIZED_NAME_QUERY |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
Query() |
| Modifier and Type | Method and Description |
|---|---|
Query |
dialect(Dialect dialect) |
boolean |
equals(Object o) |
Query |
extern(File extern) |
Dialect |
getDialect()
Get dialect
|
File |
getExtern()
Get extern
|
OffsetDateTime |
getNow()
Specifies the time that should be reported as \"now\" in the query.
|
String |
getQuery()
Query script to execute.
|
Query.TypeEnum |
getType()
The type of query.
|
int |
hashCode() |
Query |
now(OffsetDateTime now) |
Query |
query(String query) |
void |
setDialect(Dialect dialect) |
void |
setExtern(File extern) |
void |
setNow(OffsetDateTime now) |
void |
setQuery(String query) |
String |
toString() |
public static final String SERIALIZED_NAME_EXTERN
public static final String SERIALIZED_NAME_QUERY
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_DIALECT
public static final String SERIALIZED_NAME_NOW
public File getExtern()
public void setExtern(File extern)
public String getQuery()
public void setQuery(String query)
public Query.TypeEnum getType()
public Dialect getDialect()
public void setDialect(Dialect dialect)
public Query now(OffsetDateTime now)
public OffsetDateTime getNow()
public void setNow(OffsetDateTime now)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.