Class Expression
java.lang.Object
com.couchbase.client.java.query.dsl.Expression
public class Expression extends Object
Represents a N1QL Expression.
- Since:
- 2.0.0
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and Type Method Description Expressionadd(Expression expression)Arithmetic addition between current and given expression.Expressionadd(Number b)Arithmetic addition between current expression and a given number.Expressionadd(String expression)Arithmetic addition between current and given expression.Expressionand(boolean right)AND-combines two expressions.Expressionand(double right)AND-combines two expressions.Expressionand(float right)AND-combines two expressions.Expressionand(int right)AND-combines two expressions.Expressionand(long right)AND-combines two expressions.Expressionand(JsonArray right)AND-combines two expressions.Expressionand(JsonObject right)AND-combines two expressions.Expressionand(Expression right)AND-combines two expressions.Expressionand(String right)AND-combines two expressions.Expressionas(Expression alias)Adds a AS clause between the current and the given expression.Expressionas(String alias)Adds a AS clause between the current and the given expression.Expressionbetween(boolean right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(double right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(float right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(int right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(long right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(JsonArray right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(JsonObject right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(Expression right)Adds a BETWEEN clause between the current and the given expression.Expressionbetween(String right)Adds a BETWEEN clause between the current and the given expression.Expressionconcat(boolean right)Combines two expressions with the concatenation operator ("||").Expressionconcat(double right)Combines two expressions with the concatenation operator ("||").Expressionconcat(float right)Combines two expressions with the concatenation operator ("||").Expressionconcat(int right)Combines two expressions with the concatenation operator ("||").Expressionconcat(long right)Combines two expressions with the concatenation operator ("||").Expressionconcat(JsonArray right)Combines two expressions with the concatenation operator ("||").Expressionconcat(JsonObject right)Combines two expressions with the concatenation operator ("||").Expressionconcat(Expression right)Combines two expressions with the concatenation operator ("||").Expressionconcat(String right)Combines two expressions with the concatenation operator ("||").Expressiondivide(Expression expression)Arithmetic division between current and given expression.Expressiondivide(Number b)Arithmetic division between current expression and a given number.Expressiondivide(String expression)Arithmetic division between current and given expression.Expressioneq(boolean right)Combines two expressions with the equals operator ("=").Expressioneq(double right)Combines two expressions with the equals operator ("=").Expressioneq(float right)Combines two expressions with the equals operator ("=").Expressioneq(int right)Combines two expressions with the equals operator ("=").Expressioneq(long right)Combines two expressions with the equals operator ("=").Expressioneq(JsonArray right)Combines two expressions with the equals operator ("=").Expressioneq(JsonObject right)Combines two expressions with the equals operator ("=").Expressioneq(Expression right)Combines two expressions with the equals operator ("=").Expressioneq(String right)Combines two expressions with the equals operator ("=").Expressionexists()Prefixes the current expression with the EXISTS clause.static ExpressionFALSE()Returns an expression representing boolean FALSE.Expressionget(Expression expression)Get attribute of an object using the given expression as attribute name.Expressionget(String expression)Get attribute of an object using the given string as attribute name.Expressiongt(boolean right)Combines two expressions with the greater than operator (">").Expressiongt(double right)Combines two expressions with the greater than operator (">").Expressiongt(float right)Combines two expressions with the greater than operator (">").Expressiongt(int right)Combines two expressions with the greater than operator (">").Expressiongt(long right)Combines two expressions with the greater than operator (">").Expressiongt(JsonArray right)Combines two expressions with the greater than operator (">").Expressiongt(JsonObject right)Combines two expressions with the greater than operator (">").Expressiongt(Expression right)Combines two expressions with the greater than operator (">").Expressiongt(String right)Combines two expressions with the greater than operator (">").Expressiongte(boolean right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(double right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(float right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(int right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(long right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(JsonArray right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(JsonObject right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(Expression right)Combines two expressions with the greater or equals than operator (">=").Expressiongte(String right)Combines two expressions with the greater or equals than operator (">=").static Expressioni(String... identifiers)An identifier or list of identifiers escaped using backquotes `.Expressionin(boolean right)Adds a IN clause between the current and the given expression.Expressionin(double right)Adds a IN clause between the current and the given expression.Expressionin(float right)Adds a IN clause between the current and the given expression.Expressionin(int right)Adds a IN clause between the current and the given expression.Expressionin(long right)Adds a IN clause between the current and the given expression.Expressionin(JsonArray right)Adds a IN clause between the current and the given expression.Expressionin(JsonObject right)Adds a IN clause between the current and the given expression.Expressionin(Expression right)Adds a IN clause between the current and the given expression.Expressionin(String right)Adds a IN clause between the current and the given expression.ExpressionisMissing()Appends a "IS MISSING" to the expression.ExpressionisNotMissing()Appends a "IS NOT MISSING" to the expression.ExpressionisNotNull()Appends a "IS NOT NULL" to the expression.ExpressionisNotValued()Appends a "IS NOT VALUED" to the expression.ExpressionisNull()Appends a "IS NULL" to the expression.ExpressionisValued()Appends a "IS VALUED" to the expression.Expressionlike(boolean right)Adds a LIKE clause between the current and the given expression.Expressionlike(double right)Adds a LIKE clause between the current and the given expression.Expressionlike(float right)Adds a LIKE clause between the current and the given expression.Expressionlike(int right)Adds a LIKE clause between the current and the given expression.Expressionlike(long right)Adds a LIKE clause between the current and the given expression.Expressionlike(JsonArray right)Adds a LIKE clause between the current and the given expression.Expressionlike(JsonObject right)Adds a LIKE clause between the current and the given expression.Expressionlike(Expression right)Adds a LIKE clause between the current and the given expression.Expressionlike(String right)Adds a LIKE clause between the current and the given expression.Expressionlt(boolean right)Combines two expressions with the less than operator ("<").Expressionlt(double right)Combines two expressions with the less than operator ("<").Expressionlt(float right)Combines two expressions with the less than operator ("<").Expressionlt(int right)Combines two expressions with the less than operator ("<").Expressionlt(long right)Combines two expressions with the less than operator ("<").Expressionlt(JsonArray right)Combines two expressions with the less than operator ("<").Expressionlt(JsonObject right)Combines two expressions with the less than operator ("<").Expressionlt(Expression right)Combines two expressions with the less than operator ("<").Expressionlt(String right)Combines two expressions with the less than operator ("<").Expressionlte(boolean right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(double right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(float right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(int right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(long right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(JsonArray right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(JsonObject right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(Expression right)Combines two expressions with the less or equals than operator ("<=").Expressionlte(String right)Combines two expressions with the less or equals than operator ("<=").static ExpressionMISSING()Returns an expression representing MISSING.Expressionmultiply(Expression expression)Arithmetic multiplication between current and given expression.Expressionmultiply(Number b)Arithmetic multiplication between current expression and a given number.Expressionmultiply(String expression)Arithmetic multiplication between current and given expression.Expressionne(double right)Combines two expressions with the not equals operator ("!=").Expressionne(float right)Combines two expressions with the not equals operator ("!=").Expressionne(int right)Combines two expressions with the not equals operator ("!=").Expressionne(long right)Combines two expressions with the not equals operator ("!=").Expressionne(JsonArray right)Combines two expressions with the not equals operator ("!=").Expressionne(JsonObject right)Combines two expressions with the not equals operator ("!=").Expressionne(Expression right)Combines two expressions with the not equals operator ("!=").Expressionne(String right)Combines two expressions with the not equals operator ("!=").Expressionnot()Negates the given expression by prefixing a NOT.ExpressionnotBetween(boolean right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(double right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(float right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(int right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(long right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(JsonArray right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(JsonObject right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(Expression right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotBetween(String right)Adds a NOT BETWEEN clause between the current and the given expression.ExpressionnotIn(boolean right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(double right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(float right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(int right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(long right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(JsonArray right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(JsonObject right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(Expression right)Adds a NOT IN clause between the current and the given expression.ExpressionnotIn(String right)Adds a NOT IN clause between the current and the given expression.ExpressionnotLike(boolean right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(double right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(float right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(int right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(long right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(JsonArray right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(JsonObject right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(Expression right)Adds a NOT LIKE clause between the current and the given expression.ExpressionnotLike(String right)Adds a NOT LIKE clause between the current and the given expression.static ExpressionNULL()Returns an expression representing NULL.Expressionor(boolean right)OR-combines two expressions.Expressionor(double right)OR-combines two expressions.Expressionor(float right)OR-combines two expressions.Expressionor(int right)OR-combines two expressions.Expressionor(long right)OR-combines two expressions.Expressionor(JsonArray right)OR-combines two expressions.Expressionor(JsonObject right)OR-combines two expressions.Expressionor(Expression right)OR-combines two expressions.Expressionor(String right)OR-combines two expressions.static Expressionpar(Expression expression)Puts anExpressionin parenthesis.static Expressionpath(Object... pathComponents)Construct a path ("a.b.c") from Expressions or values.static Expressions(String... strings)An identifier or list of identifiers which will be quoted as strings (with "").static Expressionsub(Statement statement)Creates an expression from a given sub-Statement, wrapping it in parenthesis.Expressionsubtract(Expression expression)Arithmetic v between current and given expression.Expressionsubtract(Number b)Arithmetic subtraction between current expression and a given number.Expressionsubtract(String expression)Arithmetic subtraction between current and given expression.StringtoString()static ExpressionTRUE()Returns an expression representing boolean TRUE.static Expressionx(boolean value)Creates an arbitrary expression from the given boolean value.static Expressionx(double value)Creates an arbitrary expression from the given double value.static Expressionx(float value)Creates an arbitrary expression from the given float value.static Expressionx(int value)Creates an arbitrary expression from the given integer value.static Expressionx(long value)Creates an arbitrary expression from the given long value.static Expressionx(JsonArray value)Creates an arbitrary expression from the given json array.static Expressionx(JsonObject value)Creates an arbitrary expression from the given json object.static Expressionx(Statement statement)Creates an expression for a givenStatement, as is.static Expressionx(Number number)Creates an expression from aNumber, as is.static Expressionx(String value)Creates an arbitrary expression from the given string value.
-
Method Details
-
x
Creates an arbitrary expression from the given string value. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given integer value. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given long value. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given boolean value. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given double value. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given float value. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given json array. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an arbitrary expression from the given json object. No quoting or escaping will be done on the input. In addition, it is not checked if the given value is an actual valid (N1QL syntax wise) expression.- Parameters:
value- the value to create the expression from.- Returns:
- a new
Expressionrepresenting the value.
-
x
Creates an expression for a givenStatement, as is.- Parameters:
statement- the statement to convert to an expression.- Returns:
- the statement, converted as is into an expression.
-
x
Creates an expression from aNumber, as is.- Parameters:
number- the number constant to convert to an expression.- Returns:
- the number converted into an expression.
-
sub
Creates an expression from a given sub-Statement, wrapping it in parenthesis.- Parameters:
statement- the statement to convert to an expression.- Returns:
- the statement, converted into an expression wrapped in parenthesis.
-
par
Puts anExpressionin parenthesis.- Parameters:
expression- the expression to wrap in parenthesis.- Returns:
- the expression, wrapped in parenthesis.
-
path
Construct a path ("a.b.c") from Expressions or values. Strings are considered identifiers (so they won't be quoted).- Parameters:
pathComponents- the elements of the path, joined together by a dot.- Returns:
- the path created from the given components.
-
i
An identifier or list of identifiers escaped using backquotes `. Useful for example for identifiers that contains a dash like "beer-sample". Multiple identifiers are returned as a list of escaped identifiers separated by ", ".- Parameters:
identifiers- the identifier(s) to escape.- Returns:
- an
Expressionrepresenting the escaped identifier.
-
s
An identifier or list of identifiers which will be quoted as strings (with "").- Parameters:
strings- the list of strings to quote.- Returns:
- an
Expressionrepresenting the quoted strings.
-
TRUE
Returns an expression representing boolean TRUE.- Returns:
- an expression representing TRUE.
-
FALSE
Returns an expression representing boolean FALSE.- Returns:
- an expression representing FALSE.
-
NULL
Returns an expression representing NULL.- Returns:
- an expression representing NULL.
-
MISSING
Returns an expression representing MISSING.- Returns:
- an expression representing MISSING.
-
not
Negates the given expression by prefixing a NOT.- Returns:
- the negated expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
and
AND-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
or
OR-combines two expressions.- Parameters:
right- the expression to combine with the current one.- Returns:
- a combined expression.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
eq
Combines two expressions with the equals operator ("=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
ne
Combines two expressions with the not equals operator ("!=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gt
Combines two expressions with the greater than operator (">").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lt
Combines two expressions with the less than operator ("<").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
gte
Combines two expressions with the greater or equals than operator (">=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
concat
Combines two expressions with the concatenation operator ("||").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
lte
Combines two expressions with the less or equals than operator ("<=").- Parameters:
right- the expression to combine.- Returns:
- the combined expressions.
-
isValued
Appends a "IS VALUED" to the expression.- Returns:
- the postfixed expression.
-
isNotValued
Appends a "IS NOT VALUED" to the expression.- Returns:
- the postfixed expression.
-
isNull
Appends a "IS NULL" to the expression.- Returns:
- the postfixed expression.
-
isNotNull
Appends a "IS NOT NULL" to the expression.- Returns:
- the postfixed expression.
-
isMissing
Appends a "IS MISSING" to the expression.- Returns:
- the postfixed expression.
-
isNotMissing
Appends a "IS NOT MISSING" to the expression.- Returns:
- the postfixed expression.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
between
Adds a BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notBetween
Adds a NOT BETWEEN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
like
Adds a LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notLike
Adds a NOT LIKE clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
exists
Prefixes the current expression with the EXISTS clause.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
in
Adds a IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
notIn
Adds a NOT IN clause between the current and the given expression.- Parameters:
right- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
as
Adds a AS clause between the current and the given expression. Often used to alias an identifier.- Parameters:
alias- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
as
Adds a AS clause between the current and the given expression. Often used to alias an identifier.- Parameters:
alias- the right hand side expression.- Returns:
- a new expression with the clause applied.
-
add
Arithmetic addition between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the addition expression.
-
add
Arithmetic addition between current expression and a given number.- Parameters:
b- the right hand side number.- Returns:
- the addition expression.
-
add
Arithmetic addition between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the addition expression.
-
subtract
Arithmetic v between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the subtraction expression.
-
subtract
Arithmetic subtraction between current expression and a given number.- Parameters:
b- the right hand side number.- Returns:
- the subtraction expression.
-
subtract
Arithmetic subtraction between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the subtraction expression.
-
multiply
Arithmetic multiplication between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the multiplication expression.
-
multiply
Arithmetic multiplication between current expression and a given number.- Parameters:
b- the right hand side number.- Returns:
- the multiplication expression.
-
multiply
Arithmetic multiplication between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the multiplication expression.
-
divide
Arithmetic division between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the division expression.
-
divide
Arithmetic division between current expression and a given number.- Parameters:
b- the right hand side number.- Returns:
- the division expression.
-
divide
Arithmetic division between current and given expression.- Parameters:
expression- the right hand side expression.- Returns:
- the division expression.
-
get
Get attribute of an object using the given string as attribute name.- Parameters:
expression- The attribute name- Returns:
- the getter expression
-
get
Get attribute of an object using the given expression as attribute name.- Parameters:
expression- The attribute name- Returns:
- the getter expression
-
toString
-