Package: org.apache.groovy.ginq.dsl.expression

## [Java] Class WhereExpression

- org.apache.groovy.ginq.dsl.expression.WhereExpression

-     public class WhereExpression
      extends FilterExpression

  Represent the where expression

  Since:
    4.0.0

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class FilterExpression` | `filterExpr`
    `class Expression` | `EMPTY_ARRAY`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `WhereExpression(Expression filterExpr)` Creates a `where` clause.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `<R>` | `public R` | `accept(GinqAstVisitor<R> visitor)` Accepts a visitor for this clause.
    `` | `public String` | `getText()` Returns the textual GINQ form of this clause.
    `` | `public String` | `toString()` Returns the textual form of this clause.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class FilterExpression` | `getFilterExpr, setFilterExpr`
    `class ProcessExpression` | `getDataSourceExpression, setDataSourceExpression`
    `class AbstractGinqExpression` | `accept, transformExpression, visit`
    `class Expression` | `getType, setType, transformExpression, transformExpressions, transformExpressions`
    `class AnnotatedNode` | `addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic`
    `class ASTNode` | `copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit`

- - ### Constructor Detail

    - #### public WhereExpression(Expression filterExpr)

      Creates a `where` clause.

      Parameters:
        `filterExpr` - the filter condition

  - ### Method Detail

    - #### <R> public R accept(GinqAstVisitor<R> visitor)

      Accepts a visitor for this clause.

      Parameters:
        `visitor` - the visitor to accept
      Type Parameters:
        `R` - the visit result type
      Returns:
        the visit result

    - #### public String getText()

      Returns the textual GINQ form of this clause.

      Returns:
        the clause text

    - #### public String toString()

      Returns the textual form of this clause.

      Returns:
        the clause text