Package org.influxdb.querybuilder
Class BuiltQuery.QueryBuilder
java.lang.Object
org.influxdb.querybuilder.BuiltQuery.QueryBuilder
- Enclosing class:
- BuiltQuery
public static final class BuiltQuery.QueryBuilder extends Object
The query builder shall provide all the building blocks needed, only a static block shall be
used.
-
Method Summary
Modifier and Type Method Description static Clause
addTime(long interval, String literal)
static Ordering
asc()
static Clause
contains(String name, String value)
static SimpleClause
cop(String column, String op, Object arg2)
static Ordering
desc()
InfluxDB supports only time for ordering.static Clause
eq(Object arg1, Object arg2)
static Clause
eq(String name, Object value)
static Clause
gt(Object arg1, Object arg2)
static Clause
gt(String name, Object value)
static Clause
gte(Object arg1, Object arg2)
static Clause
gte(String name, Object value)
static Clause
lt(Object arg1, Object arg2)
static Clause
lt(String name, Object value)
static Clause
lte(Object arg1, Object arg2)
static Clause
lte(String name, Object value)
static Object
max(Object column)
static Object
min(Object column)
static Clause
ne(Object arg1, Object arg2)
static Clause
ne(String name, Object value)
static Clause
neq(Object arg1, Object arg2)
static Clause
neq(String name, Object value)
static Object
now()
static Clause
nregex(String name, String value)
static OperationClause
op(Object arg1, String op, Object arg2)
static Object
raw(String str)
static Clause
regex(String name, String value)
static SelectionQueryImpl
select(Object... columns)
static SelectionQueryImpl
select(String... columns)
static Clause
subTime(long interval, String literal)
static TimeInterval
ti(Long timeInterval, String durationLiteral)
static Object
time(Long timeInterval, String durationLiteral)
static Object
time(Long timeInterval, String durationLiteral, Long offsetInterval, String offSetLiteral)