Class WhereExpression

All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, DataSourceHolder, NodeMetaDataHandler

public class WhereExpression extends FilterExpression
Represent the where expression
Since:
4.0.0
  • Constructor Details

    • WhereExpression

      public WhereExpression(Expression filterExpr)
      Creates a where clause.
      Parameters:
      filterExpr - the filter condition
  • Method Details

    • accept

      public <R> R accept(GinqAstVisitor<R> visitor)
      Accepts a visitor for this clause.
      Specified by:
      accept in class AbstractGinqExpression
      Type Parameters:
      R - the visit result type
      Parameters:
      visitor - the visitor to accept
      Returns:
      the visit result
    • getText

      public String getText()
      Returns the textual GINQ form of this clause.
      Overrides:
      getText in class ASTNode
      Returns:
      the clause text
    • toString

      public String toString()
      Returns the textual form of this clause.
      Overrides:
      toString in class Object
      Returns:
      the clause text