Class AllExp

All Implemented Interfaces:
XMLSerializable

public final class AllExp extends ConditionExp
Since:
5.0
  • Constructor Details

    • AllExp

      public AllExp(Object... operands)
  • Method Details

    • shallowCopy

      public Expression shallowCopy()
      Description copied from class: Expression
      Creates a copy of this expression node, without copying children.
      Specified by:
      shallowCopy in class Expression
    • getRequiredChildrenCount

      protected int getRequiredChildrenCount()
      Specified by:
      getRequiredChildrenCount in class ConditionExp
    • evaluateSubNode

      protected Boolean evaluateSubNode(Object o, Object[] evaluatedChildren) throws Exception
      Specified by:
      evaluateSubNode in class ConditionExp
      Throws:
      Exception
    • appendAsString

      public void appendAsString(Appendable out) throws IOException
      Description copied from class: Expression
      Appends own content as a String to the provided Appendable: the operands separated by the operator.
      Overrides:
      appendAsString in class Expression
      Throws:
      IOException
    • getExpressionOperator

      protected String getExpressionOperator(int index)
      Description copied from class: Expression
      Returns the operator printed between the operands, before the operand at the given index.
      Specified by:
      getExpressionOperator in class Expression
    • isValidParent

      protected boolean isValidParent(Expression parent)
      Description copied from class: Expression
      Whether this node can be an operand of the given node. Called by the parent when the operand is set, to check what the grammar can't: e.g. a condition can only be an operand of a condition aggregate. By default any parent is valid.
      Overrides:
      isValidParent in class ConditionExp
    • parenthesizeAsOperand

      protected boolean parenthesizeAsOperand()
      Description copied from class: Expression
      Whether this node is wrapped in parentheses when printed as an operand of another node. Compound nodes are, leaves and nodes with their own delimiters (function calls, lists) are not.
      Overrides:
      parenthesizeAsOperand in class Expression
    • exists

      public Expression exists()
      Description copied from class: ConditionExp
      Returns expression that will be dynamically resolved to proper subqueries based on a relationships used (if no relationships are present in the original expression no subqueries will be used).
      Overrides:
      exists in class ConditionExp
      Returns:
      exists expression
      See Also:
    • notExists

      public Expression notExists()
      Description copied from class: ConditionExp
      Returns expression that will be dynamically resolved to proper subqueries based on a relationships used (if no relationships are present in the original expression no subqueries will be used).
      Overrides:
      notExists in class ConditionExp
      Returns:
      not exists expression
      See Also: