static SQLOperable |
SQL.F.abs(@NonNull SQLElement arg) |
Generates an SQLOperable representing the absolute value of the given argument.
|
static SQLOperable |
SQL.F.abs(@NonNull String arg) |
Generates an SQLOperable representing the absolute value of the given column.
|
static SQLOperable |
SQL.and(@NonNull SQLElement... elements) |
Combines one or more SQLElements via an AND
|
static SQLOperable |
SQL.F.average(@NonNull SQLElement arg) |
Generates an SQLOperable representing the average value of the given argument.
|
static SQLOperable |
SQL.F.average(@NonNull String arg) |
Generates an SQLOperable representing the average value of the given column.
|
static SQLOperable |
SQL.C(@NonNull Table table,
String column) |
|
static SQLOperable |
SQL.C(String column) |
|
static SQLOperable |
SQL.C(String table,
String column) |
|
static SQLOperable |
SQL.F.coalesce(@NonNull SQLElement... args) |
Generates an SQLOperable representing the coalesce function which returns the first non-null value.
|
static SQLOperable |
SQL.F.count(@NonNull SQLElement arg) |
Generates an SQLOperable representing the count value of the given argument.
|
static SQLOperable |
SQL.F.count(@NonNull String arg) |
Generates an SQLOperable representing the count value of the given column.
|
static SQLOperable |
SQL.F.countDistinct(@NonNull SQLOperable arg) |
Generates an SQLOperable representing the distinct count value of the given argument.
|
static SQLOperable |
SQL.F.countDistinct(@NonNull String arg) |
Generates an SQLOperable representing the distinct count value of the given column.
|
static SQLOperable |
SQL.F.date(@NonNull SQLElement timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing the date function, which converts the given time string into a
date object.
|
static SQLOperable |
SQL.F.date(@NonNull String timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing the date function, which converts the given time string into a
date object.
|
static SQLOperable |
SQL.F.dateTime(@NonNull SQLElement timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing the datetime function, which converts the given time string into
a date object.
|
static SQLOperable |
SQL.F.dateTime(@NonNull String timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing the datetime function, which converts the given time string into
a date object.
|
static SQLOperable |
SQL.exists(@NonNull QueryStatement query) |
Creates an "exists" cause checking for the existence of a record in a sub query.
|
static SQLOperable |
SQL.group(@NonNull SQLElement... elements) |
Groups one or more expressions by placing them in parenthesis
|
static SQLOperable |
SQL.F.groupConcat(@NonNull SQLElement arg,
@NonNull String delimiter) |
Generates an SQLOperable representing the group concat function, which concatenates one more items with
a given delimiter.
|
static SQLOperable |
SQL.F.groupConcat(@NonNull String arg,
@NonNull String delimiter) |
Generates an SQLOperable representing the group concat function, which concatenates one more items with
a given delimiter.
|
static SQLOperable |
SQL.F.groupConcat(@NonNull Collection<? extends SQLElement> args,
@NonNull String delimiter) |
Generates an SQLOperable representing the group concat function, which concatenates one more items with
a given delimiter.
|
static SQLOperable |
SQL.F.ifNull(@NonNull SQLElement expression,
@NonNull SQLElement value) |
Generates an SQLOperable representing an "if null" function, which returns the specified value if the
expression is null.
|
static SQLOperable |
SQL.F.instr(@NonNull SQLElement string,
@NonNull SQLElement substring) |
Generates an SQLOperable representing an "in string" function, which searches a string for a
substring.
|
static SQLOperable |
SQL.F.instr(@NonNull SQLElement string,
@NonNull String substring) |
Generates an SQLOperable representing an "in string" function, which searches a string for a
substring.
|
static SQLOperable |
SQL.F.json_extract(@NonNull SQLElement json,
@NonNull SQLElement jsonPath) |
Generates an SQLOperable representing a function to extract a json value (object, array, primitive)
from a json column for a given path in the json tree.
|
static SQLOperable |
SQL.F.json_extract(@NonNull String column,
@NonNull String jsonPath) |
Generates an SQLOperable representing a function to extract a json value (object, array, primitive)
from a json column for a given path in the json tree.
|
static SQLOperable |
SQL.L(@NonNull String value) |
An SQLOperable defining a literal expression, which will automatically be placed in single quotes.
|
static SQLOperable |
SQL.F.length(@NonNull SQLElement arg) |
Generates an SQLOperable representing the length of the string value represented by the given
argument.
|
static SQLOperable |
SQL.F.length(@NonNull String arg) |
Generates an SQLOperable representing the length of the string value in the given column.
|
static SQLOperable |
SQL.F.lower(@NonNull SQLElement arg) |
Generates an SQLOperable representing the lower function, which lower cases a string value.
|
static SQLOperable |
SQL.F.lower(@NonNull String arg) |
Generates an SQLOperable representing the lower function, which lower cases a string value.
|
static SQLOperable |
SQL.F.ltrim(@NonNull SQLElement arg) |
Generates an SQLOperable representing the ltrim function, which trims from the left side of a string.
|
static SQLOperable |
SQL.F.ltrim(@NonNull String arg) |
Generates an SQLOperable representing the ltrim function, which trims from the left side of a string.
|
static SQLOperable |
SQL.F.max(@NonNull SQLElement arg) |
Generates an SQLOperable representing the max function.
|
static SQLOperable |
SQL.F.max(@NonNull String arg) |
Generates an SQLOperable representing the max function.
|
static SQLOperable |
SQL.F.min(@NonNull SQLElement arg) |
Generates an SQLOperable representing the min function.
|
static SQLOperable |
SQL.F.min(@NonNull String arg) |
Generates an SQLOperable representing the min function.
|
static SQLOperable |
SQL.N(@NonNull Number value) |
|
static SQLOperable |
SQL.namedArgument(@NonNull String name) |
|
static SQLOperable |
SQL.F.nullIf(@NonNull SQLElement arg1,
@NonNull SQLElement arg2) |
Generates an SQLOperable representing an "null if" function, which returns null if the two arguments
are equal.
|
static SQLOperable |
SQL.or(@NonNull SQLElement... elements) |
Combines one or more SQLElements via an OR
|
static SQLOperable |
SQL.F.random() |
Generates an SQLOperable representing the random function
|
static SQLOperable |
SQL.F.regexp(@NonNull SQLElement arg1,
@NonNull SQLElement arg2) |
Generates an SQLOperable representing a regular expression matching operating
|
static SQLOperable |
SQL.F.regexp(@NonNull SQLElement arg1,
@NonNull String arg2) |
Generates an SQLOperable representing a regular expression matching operating
|
static SQLOperable |
SQL.F.replace(@NonNull SQLElement arg,
String pattern,
String replacement) |
Generates an SQLOperable representing an string "replace" function, which replaces a given pattern with
a given replacement in string expression.
|
static SQLOperable |
SQL.F.replace(@NonNull String column,
String pattern,
String replacement) |
Generates an SQLOperable representing an string "replace" function, which replaces a given pattern with
a given replacement in string expression.
|
static SQLOperable |
SQL.F.round(@NonNull SQLElement arg,
int precision) |
Generates an SQLOperable that rounds the given argument to the given precision.
|
static SQLOperable |
SQL.F.round(@NonNull String column,
int precision) |
Generates an SQLOperable that rounds the given argument to the given precision.
|
static SQLOperable |
SQL.F.rtrim(@NonNull SQLElement arg) |
Generates an SQLOperable representing the right function, which trims from the right side of a string.
|
static SQLOperable |
SQL.F.rtrim(@NonNull String arg) |
Generates an SQLOperable representing the rtrim function, which trims from the right side of a string.
|
static SQLOperable |
SQL.F.strftime(@NonNull SQLElement format,
@NonNull SQLElement timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing a function to format times as strings.
|
static SQLOperable |
SQL.F.substr(@NonNull SQLElement arg,
int start,
int length) |
Generates an SQLOperable representing an "substring" function, which returns a substring from the given
starting position and of the given length from an argument.
|
static SQLOperable |
SQL.F.substr(@NonNull SQLElement arg,
@NonNull SQLElement start,
@NonNull SQLElement length) |
Generates an SQLOperable representing an "substring" function, which returns a substring from the given
starting position and of the given length from an argument.
|
static SQLOperable |
SQL.F.substr(@NonNull String column,
int start,
int length) |
Generates an SQLOperable representing an "substring" function, which returns a substring from the given
starting position and of the given length from an argument.
|
static SQLOperable |
SQL.F.substr(@NonNull String column,
@NonNull SQLElement start,
@NonNull SQLElement length) |
Generates an SQLOperable representing an "substring" function, which returns a substring from the given
starting position and of the given length from an argument.
|
static SQLOperable |
SQL.F.sum(@NonNull SQLElement arg) |
Generates an SQLOperable representing the sum function.
|
static SQLOperable |
SQL.F.sum(@NonNull String column) |
Generates an SQLOperable representing the sum function.
|
static SQLOperable |
SQL.F.time(@NonNull SQLOperable timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing the datetime function, which converts the given time string into
a date object.
|
static SQLOperable |
SQL.F.time(@NonNull String timeString,
@NonNull SQLElement... args) |
Generates an SQLOperable representing the time function, which converts the given time string into a
date object.
|
static SQLOperable |
SQL.F.trim(@NonNull SQLElement arg) |
Generates an SQLOperable representing the trim function, which trims from the right and left side of a
string.
|
static SQLOperable |
SQL.F.trim(@NonNull String arg) |
Generates an SQLOperable representing the trim function, which trims from the right and left side of a
string.
|
static SQLOperable |
SQL.F.upper(@NonNull SQLElement arg) |
Generates an SQLOperable representing the lower function, which lower cases a string value.
|
static SQLOperable |
SQL.F.upper(@NonNull String arg) |
Generates an SQLOperable representing the upper function, which lower cases a string value.
|