Package com.influxdb.client.domain
Class Query
java.lang.Object
com.influxdb.client.domain.Query
Query influx using the Flux language
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet dialectGet externgetNow()Specifies the time that should be reported as \"now\" in the query.Enumeration of key/value pairs that respresent parameters to be injected into query (can only specify either this field or extern and not both)getQuery()Query script to execute.getType()The type of query.inthashCode()now(OffsetDateTime now) putParamsItem(String key, Object paramsItem) voidsetDialect(Dialect dialect) voidvoidsetNow(OffsetDateTime now) voidvoidtoString()
-
Field Details
-
SERIALIZED_NAME_EXTERN
- See Also:
-
SERIALIZED_NAME_QUERY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_PARAMS
- See Also:
-
SERIALIZED_NAME_DIALECT
- See Also:
-
SERIALIZED_NAME_NOW
- See Also:
-
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
extern
-
getExtern
Get extern- Returns:
- extern
-
setExtern
-
query
-
getQuery
Query script to execute.- Returns:
- query
-
setQuery
-
getType
The type of query. Must be \"flux\".- Returns:
- type
-
params
-
putParamsItem
-
getParams
Enumeration of key/value pairs that respresent parameters to be injected into query (can only specify either this field or extern and not both)- Returns:
- params
-
setParams
-
dialect
-
getDialect
Get dialect- Returns:
- dialect
-
setDialect
-
now
-
getNow
Specifies the time that should be reported as \"now\" in the query. Default is the server's now time.- Returns:
- now
-
setNow
-
equals
-
hashCode
public int hashCode() -
toString
-