Uses of Class
com.google.cloud.firestore.pipeline.expressions.BooleanExpression
Packages that use BooleanExpression
Package
Description
-
Uses of BooleanExpression in com.google.cloud.firestore
Methods in com.google.cloud.firestore with parameters of type BooleanExpressionModifier and TypeMethodDescriptionPipeline.where(BooleanExpression condition) Filters the documents from previous stages to only include those matching the specifiedBooleanExpression. -
Uses of BooleanExpression in com.google.cloud.firestore.pipeline.expressions
Methods in com.google.cloud.firestore.pipeline.expressions that return BooleanExpressionModifier and TypeMethodDescriptionstatic BooleanExpressionExpression.and(BooleanExpression condition, BooleanExpression... conditions) Creates an expression that performs a logical 'AND' operation.static BooleanExpressionExpression.arrayContains(Expression array, Expression element) Creates an expression that checks if an array contains a specified element.static BooleanExpressionExpression.arrayContains(Expression array, Object element) Creates an expression that checks if an array contains a specified element.final BooleanExpressionExpression.arrayContains(Object element) Creates an expression that checks if array contains a specificelement.static BooleanExpressionExpression.arrayContains(String arrayFieldName, Expression element) Creates an expression that checks if an array contains a specified element.static BooleanExpressionExpression.arrayContains(String arrayFieldName, Object element) Creates an expression that checks if an array contains a specified element.final BooleanExpressionExpression.arrayContainsAll(Expression arrayExpression) Creates an expression that checks if array contains all elements ofarrayExpression.static BooleanExpressionExpression.arrayContainsAll(Expression array, Expression arrayExpression) Creates an expression that checks if an array contains all of the elements of another array.static BooleanExpressionExpression.arrayContainsAll(Expression array, List<Object> values) Creates an expression that checks if an array contains all of the provided values.static BooleanExpressionExpression.arrayContainsAll(String arrayFieldName, Expression arrayExpression) Creates an expression that checks if an array contains all of the elements of another array.static BooleanExpressionExpression.arrayContainsAll(String arrayFieldName, List<Object> values) Creates an expression that checks if an array contains all of the provided values.final BooleanExpressionExpression.arrayContainsAll(List<Object> values) Creates an expression that checks if array contains all the specifiedvalues.final BooleanExpressionExpression.arrayContainsAny(Expression arrayExpression) Creates an expression that checks if array contains any elements ofarrayExpression.static BooleanExpressionExpression.arrayContainsAny(Expression array, Expression arrayExpression) Creates an expression that checks if an array contains any of the elements of another array.static BooleanExpressionExpression.arrayContainsAny(Expression array, List<Object> values) Creates an expression that checks if an array contains any of the provided values.static BooleanExpressionExpression.arrayContainsAny(String arrayFieldName, Expression arrayExpression) Creates an expression that checks if an array contains any of the elements of another array.static BooleanExpressionExpression.arrayContainsAny(String arrayFieldName, List<Object> values) Creates an expression that checks if an array contains any of the provided values.final BooleanExpressionExpression.arrayContainsAny(List<Object> values) Creates an expression that checks if array contains any of the specifiedvalues.static BooleanExpressionCreate a constant for aBooleanvalue.static BooleanExpressionExpression.endsWith(Expression string, Expression suffix) Creates an expression that checks if a string expression ends with a givensuffix.static BooleanExpressionExpression.endsWith(Expression string, String suffix) Creates an expression that checks if a string expression ends with a givensuffix.final BooleanExpressionCreates an expression that checks if this string expression ends with a givensuffix.static BooleanExpressionExpression.endsWith(String fieldName, Expression suffix) Creates an expression that checks if a string expression ends with a givensuffix.static BooleanExpressionCreates an expression that checks if a string expression ends with a givensuffix.static BooleanExpressionExpression.equal(Expression left, Expression right) Creates an expression that checks if two expressions are equal.static BooleanExpressionExpression.equal(Expression left, Object right) Creates an expression that checks if an expression is equal to a constant value.final BooleanExpressionCreates an expression that checks if this expression is equal to avalue.static BooleanExpressionExpression.equal(String fieldName, Expression right) Creates an expression that checks if a field is equal to an expression.static BooleanExpressionCreates an expression that checks if a field is equal to a constant value.static BooleanExpressionExpression.equalAny(Expression expression, Expression arrayExpression) Creates an expression that checks if anexpression, when evaluated, is equal to any of the elements ofarrayExpression.static BooleanExpressionExpression.equalAny(Expression expression, List<Object> values) Creates an expression that checks if anexpression, when evaluated, is equal to any of the providedvalues.static BooleanExpressionExpression.equalAny(String fieldName, Expression arrayExpression) Creates an expression that checks if a field's value is equal to any of the elements ofarrayExpression.static BooleanExpressionCreates an expression that checks if a field's value is equal to any of the providedvalues.final BooleanExpressionCreates an expression that checks if this expression, when evaluated, is equal to any of the providedvalues.final BooleanExpressionExpression.exists()Creates an expression that checks if this expression evaluates to a name of the field that exists.static BooleanExpressionExpression.exists(Expression value) Creates an expression that checks if a field exists.static BooleanExpressionCreates an expression that checks if a field exists.static BooleanExpressionExpression.greaterThan(Expression left, Expression right) Creates an expression that checks if the first expression is greater than the second expression.static BooleanExpressionExpression.greaterThan(Expression left, Object right) Creates an expression that checks if an expression is greater than a constant value.final BooleanExpressionExpression.greaterThan(Object other) Creates an expression that checks if this expression is greater than avalue.static BooleanExpressionExpression.greaterThan(String fieldName, Expression right) Creates an expression that checks if a field is greater than an expression.static BooleanExpressionExpression.greaterThan(String fieldName, Object right) Creates an expression that checks if a field is greater than a constant value.static BooleanExpressionExpression.greaterThanOrEqual(Expression left, Expression right) Creates an expression that checks if the first expression is greater than or equal to the second expression.static BooleanExpressionExpression.greaterThanOrEqual(Expression left, Object right) Creates an expression that checks if an expression is greater than or equal to a constant value.final BooleanExpressionExpression.greaterThanOrEqual(Object other) Creates an expression that checks if this expression is greater than or equal to avalue.static BooleanExpressionExpression.greaterThanOrEqual(String fieldName, Expression right) Creates an expression that checks if a field is greater than or equal to an expression.static BooleanExpressionExpression.greaterThanOrEqual(String fieldName, Object right) Creates an expression that checks if a field is greater than or equal to a constant value.final BooleanExpressionBooleanExpression.ifError(BooleanExpression catchExpr) Creates an expression that returns thecatchExprargument if there is an error, else return the result of this expression.static BooleanExpressionExpression.ifError(BooleanExpression tryExpr, BooleanExpression catchExpr) Creates an expression that returns thecatchExprargument if there is an error, else return the result of thetryExprargument evaluation.final BooleanExpressionExpression.isAbsent()Creates an expression that returns true if yhe result of this expression is absent.static BooleanExpressionExpression.isAbsent(Expression value) Creates an expression that returns true if a value is absent.static BooleanExpressionCreates an expression that returns true if a field is absent.final BooleanExpressionExpression.isError()Creates an expression that checks if this expression produces an error.static BooleanExpressionExpression.isError(Expression expr) Creates an expression that checks if a given expression produces an error.final BooleanExpressionExpression.isNaN()Creates an expression that checks if this expression evaluates to 'NaN' (Not a Number).final BooleanExpressionExpression.isNotNaN()Creates an expression that checks if the results of this expression is NOT 'NaN' (Not a Number).static BooleanExpressionExpression.isNotNaN(Expression expr) Creates an expression that checks if the results ofexpris NOT 'NaN' (Not a Number).static BooleanExpressionCreates an expression that checks if the results of this expression is NOT 'NaN' (Not a Number).final BooleanExpressionExpression.isNotNull()Creates an expression that checks if tbe result of this expression is not null.final BooleanExpressionExpression.isNull()Creates an expression that checks if tbe result of this expression is null.static BooleanExpressionExpression.lessThan(Expression left, Expression right) Creates an expression that checks if the first expression is less than the second expression.static BooleanExpressionExpression.lessThan(Expression left, Object right) Creates an expression that checks if an expression is less than a constant value.final BooleanExpressionCreates an expression that checks if this expression is less than a value.static BooleanExpressionExpression.lessThan(String fieldName, Expression right) Creates an expression that checks if a field is less than an expression.static BooleanExpressionCreates an expression that checks if a field is less than a constant value.static BooleanExpressionExpression.lessThanOrEqual(Expression left, Expression right) Creates an expression that checks if the first expression is less than or equal to the second expression.static BooleanExpressionExpression.lessThanOrEqual(Expression left, Object right) Creates an expression that checks if an expression is less than or equal to a constant value.final BooleanExpressionExpression.lessThanOrEqual(Object other) Creates an expression that checks if this expression is less than or equal to avalue.static BooleanExpressionExpression.lessThanOrEqual(String fieldName, Expression right) Creates an expression that checks if a field is less than or equal to an expression.static BooleanExpressionExpression.lessThanOrEqual(String fieldName, Object right) Creates an expression that checks if a field is less than or equal to a constant value.static BooleanExpressionExpression.like(Expression string, Expression pattern) Creates an expression that performs a case-sensitive wildcard string comparison.static BooleanExpressionExpression.like(Expression string, String pattern) Creates an expression that performs a case-sensitive wildcard string comparison.final BooleanExpressionCreates an expression that performs a case-sensitive wildcard string comparison.static BooleanExpressionExpression.like(String fieldName, Expression pattern) Creates an expression that performs a case-sensitive wildcard string comparison against a field.static BooleanExpressionCreates an expression that performs a case-sensitive wildcard string comparison against a field.final BooleanExpressionBooleanExpression.not()Creates an expression that negates this boolean expression.static BooleanExpressionExpression.not(BooleanExpression condition) Creates an expression that negates a boolean expression.static BooleanExpressionExpression.notEqual(Expression left, Expression right) Creates an expression that checks if two expressions are not equal.static BooleanExpressionExpression.notEqual(Expression left, Object right) Creates an expression that checks if an expression is not equal to a constant value.final BooleanExpressionCreates an expression that checks if this expression is not equal to avalue.static BooleanExpressionExpression.notEqual(String fieldName, Expression right) Creates an expression that checks if a field is not equal to an expression.static BooleanExpressionCreates an expression that checks if a field is not equal to a constant value.static BooleanExpressionExpression.notEqualAny(Expression expression, Expression arrayExpression) Creates an expression that checks if anexpression, when evaluated, is not equal to all the elements ofarrayExpression.static BooleanExpressionExpression.notEqualAny(Expression expression, List<Object> values) Creates an expression that checks if anexpression, when evaluated, is not equal to all the providedvalues.static BooleanExpressionExpression.notEqualAny(String fieldName, Expression arrayExpression) Creates an expression that checks if a field's value is not equal to all of the elements ofarrayExpression.static BooleanExpressionExpression.notEqualAny(String fieldName, List<Object> values) Creates an expression that checks if a field's value is not equal to all of the providedvalues.final BooleanExpressionExpression.notEqualAny(List<Object> other) Creates an expression that checks if this expression, when evaluated, is not equal to all the providedvalues.static BooleanExpressionExpression.or(BooleanExpression condition, BooleanExpression... conditions) Creates an expression that performs a logical 'OR' operation.static BooleanExpressionBooleanExpression.rawFunction(String name, Expression... params) Creates a 'raw' boolean function expression.static BooleanExpressionExpression.regexContains(Expression string, Expression pattern) Creates an expression that checks if a string expression contains a specified regular expression as a substring.static BooleanExpressionExpression.regexContains(Expression string, String pattern) Creates an expression that checks if a string expression contains a specified regular expression as a substring.final BooleanExpressionExpression.regexContains(Object pattern) Creates an expression that checks if this string expression contains a specified regular expression as a substring.static BooleanExpressionExpression.regexContains(String fieldName, Expression pattern) Creates an expression that checks if a string field contains a specified regular expression as a substring.static BooleanExpressionExpression.regexContains(String fieldName, String pattern) Creates an expression that checks if a string field contains a specified regular expression as a substring.static BooleanExpressionExpression.regexMatch(Expression string, Expression pattern) Creates an expression that checks if a string field matches a specified regular expression.static BooleanExpressionExpression.regexMatch(Expression string, String pattern) Creates an expression that checks if a string field matches a specified regular expression.final BooleanExpressionExpression.regexMatch(Object pattern) Creates an expression that checks if this string expression matches a specified regular expression.static BooleanExpressionExpression.regexMatch(String fieldName, Expression pattern) Creates an expression that checks if a string field matches a specified regular expression.static BooleanExpressionExpression.regexMatch(String fieldName, String pattern) Creates an expression that checks if a string field matches a specified regular expression.static BooleanExpressionExpression.startsWith(Expression string, Expression prefix) Creates an expression that checks if a string expression starts with a givenprefix.static BooleanExpressionExpression.startsWith(Expression string, String prefix) Creates an expression that checks if a string expression starts with a givenprefix.final BooleanExpressionExpression.startsWith(Object prefix) Creates an expression that checks if this string expression starts with a givenprefix.static BooleanExpressionExpression.startsWith(String fieldName, Expression prefix) Creates an expression that checks if a string expression starts with a givenprefix.static BooleanExpressionExpression.startsWith(String fieldName, String prefix) Creates an expression that checks if a string expression starts with a givenprefix.static BooleanExpressionExpression.stringContains(Expression string, Expression substring) Creates an expression that checks if a string expression contains a specified substring.static BooleanExpressionExpression.stringContains(Expression string, String substring) Creates an expression that checks if a string expression contains a specified substring.final BooleanExpressionExpression.stringContains(Object substring) Creates an expression that checks if this string expression contains a specified substring.static BooleanExpressionExpression.stringContains(String fieldName, Expression substring) Creates an expression that checks if a string field contains a specified substring.static BooleanExpressionExpression.stringContains(String fieldName, String substring) Creates an expression that checks if a string field contains a specified substring.static BooleanExpressionExpression.xor(BooleanExpression condition, BooleanExpression... conditions) Creates an expression that performs a logical 'XOR' operation.Methods in com.google.cloud.firestore.pipeline.expressions with parameters of type BooleanExpressionModifier and TypeMethodDescriptionstatic BooleanExpressionExpression.and(BooleanExpression condition, BooleanExpression... conditions) Creates an expression that performs a logical 'AND' operation.static ExpressionExpression.conditional(BooleanExpression condition, Expression thenExpr, Expression elseExpr) Creates a conditional expression that evaluates to athenExprexpression if a condition is true or anelseExprexpression if the condition is false.static ExpressionExpression.conditional(BooleanExpression condition, Object thenValue, Object elseValue) Creates a conditional expression that evaluates to athenValueif a condition is true or anelseValueif the condition is false.static AggregateFunctionAggregateFunction.countIf(BooleanExpression condition) Creates an aggregation that counts the number of stage inputs where the provided boolean expression evaluates to true.final BooleanExpressionBooleanExpression.ifError(BooleanExpression catchExpr) Creates an expression that returns thecatchExprargument if there is an error, else return the result of this expression.static BooleanExpressionExpression.ifError(BooleanExpression tryExpr, BooleanExpression catchExpr) Creates an expression that returns thecatchExprargument if there is an error, else return the result of thetryExprargument evaluation.static BooleanExpressionExpression.not(BooleanExpression condition) Creates an expression that negates a boolean expression.static BooleanExpressionExpression.or(BooleanExpression condition, BooleanExpression... conditions) Creates an expression that performs a logical 'OR' operation.static BooleanExpressionExpression.xor(BooleanExpression condition, BooleanExpression... conditions) Creates an expression that performs a logical 'XOR' operation. -
Uses of BooleanExpression in com.google.cloud.firestore.pipeline.stages
Constructors in com.google.cloud.firestore.pipeline.stages with parameters of type BooleanExpression