The AND logical operator chains multiple criteria together. A valid operand of an AND operator must be one of: TRUE, FALSE, and NULL. The AND operator has a higher precedence than the OR operator.
NULL represents unknown. Therefore, if one operand is NULL and the other operand is FALSE the result is FALSE, because one FALSE operand is sufficient for a FALSE result. If one operand is NULL and the other operand is either TRUE or NULL, the result is NULL (unknown).
| TRUE | FALSE | NULL | |
| TRUE | TRUE | FALSE | NULL |
| FALSE | FALSE | FALSE | FALSE |
| NULL | NULL | FALSE | NULL |
conditional_term ::= conditional_term AND conditional_factor| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ExpressionVisitor
The visitor)ExpressionVisitor to visit this objectImplements org. Expression by the given visitor.
|
| public String | getLeftExpressionQueryBNFId()
Implements abstract org. JPQLQueryBNF for the left expression.
|
| public String | getRightExpressionQueryBNFId()
Implements abstract org. JPQLQueryBNF for the right expression.
|
| protected boolean | isParsingComplete(WordParser
The text to parse based on the current position of the cursor wordParser, String The word that was retrieved from the given text, which is the first word in the text word, Expression The expression)Expression that has already been parsedOverrides org. |
| AndExpression | back to summary |
|---|---|
| public AndExpression(AbstractExpression parent) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(ExpressionVisitor visitor) Implements org. Doc from org. Visits this
| |
| getLeftExpressionQueryBNFId | back to summary |
|---|---|
| public String getLeftExpressionQueryBNFId() Implements abstract org. Doc from org. Returns the unique identifier of the | |
| getRightExpressionQueryBNFId | back to summary |
|---|---|
| public String getRightExpressionQueryBNFId() Implements abstract org. Doc from org. Returns the unique identifier of the | |
| isParsingComplete | back to summary |
|---|---|
| protected boolean isParsingComplete(WordParser wordParser, String word, Expression expression) Overrides org. Doc from org. Determines whether the parsing is complete based on what is left in the given text. The text is never empty.
| |