Function_ class abstract final Query Builder
Factory for creating function expressions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
abs(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the absolute value of the
given numeric
expression. -
acos(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the inverse cosine of the
given numeric
expression. -
asin(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the inverse sine of the
given numeric
expression. -
atan(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the inverse tangent of
the given numeric
expression. -
atan2(
{required ExpressionInterface y, required ExpressionInterface x}) → ExpressionInterface -
Creates a function expression which evaluates to the arctangent of
y/x. -
avg(
ExpressionInterface expression) → ExpressionInterface -
Creates an aggregate function expression which averages the given values
of the numeric
expression. -
ceil(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the ceiling of the given
numeric
expression. -
contains(
ExpressionInterface expression, {required ExpressionInterface substring}) → ExpressionInterface -
Creates a function expression which evaluates to whether the given string
expressioncontains the givensubstring. -
cos(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the cosine of the given
numeric
expression. -
count(
ExpressionInterface expression) → ExpressionInterface -
Creates an aggregate function expression which counts the values of the
given
expression. -
degrees(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the degree value of the
given radians numeric
expression. -
e(
) → ExpressionInterface -
Creates a function expression which evaluates to the mathematical constant
e. -
exp(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates e to the power of the
given numeric
expression. -
floor(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the floor of the given
numeric
expression. -
ifMissingOrNull(
ExpressionInterface expression1, ExpressionInterface expression2, [ExpressionInterface? expression3, ExpressionInterface? expression4, ExpressionInterface? expression5, ExpressionInterface? expression6, ExpressionInterface? expression7, ExpressionInterface? expression8, ExpressionInterface? expression9]) → ExpressionInterface - Creates a function expression which returns the first non-NULL, non-MISSING value from the given expressions.
-
ifMissingOrNullAll(
Iterable< ExpressionInterface> expressions) → ExpressionInterface -
Creates a function expression which returns the first non-NULL,
non-MISSING value from the given
expressions. -
length(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the length of the given
string
expression. -
ln(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the natural log of the
given numeric
expression. -
log(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the base 10 log of the
given numeric
expression. -
lower(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the lower case string of
the given string
expression. -
ltrim(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the given string
expressionwith the whitespace on the left side removed. -
max(
ExpressionInterface expression) → ExpressionInterface -
Creates an aggregate function expression which evaluates to the greatest
value of the given numeric
expression. -
millisToString(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the ISO 8601 date string
in the device local timezone of the given milliseconds since the unix
epoch
expression. -
millisToUTC(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the UTC ISO 8601 date
string of the given milliseconds since the unix epoch
expression. -
min(
ExpressionInterface expression) → ExpressionInterface -
Creates an aggregate function expression which evaluates to the smallest
value of the given numeric
expression. -
pi(
) → ExpressionInterface -
Creates a function expression which evaluates to the mathematical constant
Pi. -
power(
{required ExpressionInterface base, required ExpressionInterface exponent}) → ExpressionInterface -
Creates a function expression which evaluates to value of the
baseto the power of theexponent. -
prediction(
String model, ExpressionInterface input) → PredictionFunction -
Creates a prediction function expression with the given
modelandinput. -
radians(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the radians value of the
given degree numeric
expression. -
round(
ExpressionInterface expression, {ExpressionInterface? digits}) → ExpressionInterface -
Creates a function expression which rounds the given numeric
expressionto the given number ofdigits. -
rtrim(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the given string
expressionwith the whitespace on the right side removed. -
sign(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the sing (1: positive,
-1: negative, 0: zero) of the given degree numeric
expression. -
sin(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the sine of the given
numeric
expression. -
sqrt(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the square root of the
given numeric
expression. -
stringToMillis(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the number of
milliseconds since the unix epoch of the given ISO 8601 date string
expression. -
stringToUTC(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the ISO 8601 UTC date
time string of the given ISO 8601 date string
expression. -
sum(
ExpressionInterface expression) → ExpressionInterface -
Creates an aggregate function expression which evaluates to sum of the
values of the given numeric
expression. -
tan(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the tangent of the given
numeric
expression. -
trim(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the given string
expressionwith the whitespace on both sides removed. -
trunc(
ExpressionInterface expression, {ExpressionInterface? digits}) → ExpressionInterface -
Creates a function expression which truncates the given numeric
expressionto the given number of decimaldigits. -
upper(
ExpressionInterface expression) → ExpressionInterface -
Creates a function expression which evaluates to the upper case string of
the given string
expression.