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

# Class ProcessExpression

java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.AnnotatedNode
org.codehaus.groovy.ast.expr.Expression
org.apache.groovy.ginq.dsl.expression.AbstractGinqExpression
org.apache.groovy.ginq.dsl.expression.ProcessExpression

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

Direct Known Subclasses:
  `FilterExpression`, `GroupExpression`, `LimitExpression`, `OrderExpression`, `SelectExpression`

public abstract class ProcessExpression extends AbstractGinqExpression implements DataSourceHolder
Represents process expression, e.g. where, groupby, orderby, limit, select

Since:
  4.0.0

- ## Field Summary

  ### Fields inherited from class org.codehaus.groovy.ast.expr.Expression

  `EMPTY_ARRAY`

  ### Fields inherited from interface groovy.lang.groovydoc.GroovydocHolder

  `DOC_COMMENT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ProcessExpression()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataSourceExpression`
  `getDataSourceExpression()`
  Returns the data source feeding this clause.
  `void`
  `setDataSourceExpression(DataSourceExpression dataSourceExpression)`
  Sets the data source feeding this clause.

  ### Methods inherited from class org.apache.groovy.ginq.dsl.expression.AbstractGinqExpression

  `accept, transformExpression, visit`

  ### Methods inherited from class org.codehaus.groovy.ast.expr.Expression

  `getType, setType, transformExpressions, transformExpressions`

  ### Methods inherited from class org.codehaus.groovy.ast.AnnotatedNode

  `addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic`

  ### Methods inherited from class org.codehaus.groovy.ast.ASTNode

  `copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandler

  `copyNodeMetaData, getMetaDataMap, getNodeMetaData, getNodeMetaData, getNodeMetaData, newMetaDataMap, putNodeMetaData, removeNodeMetaData, setMetaDataMap, setNodeMetaData`

- ## Constructor Details

  - ### ProcessExpression

    public ProcessExpression()

- ## Method Details

  - ### getDataSourceExpression

    public DataSourceExpression getDataSourceExpression()
    Returns the data source feeding this clause.
    Specified by:
      `getDataSourceExpression` in interface `DataSourceHolder`
    Returns:
      the data source

  - ### setDataSourceExpression

    public void setDataSourceExpression(DataSourceExpression dataSourceExpression)
    Sets the data source feeding this clause.
    Specified by:
      `setDataSourceExpression` in interface `DataSourceHolder`
    Parameters:
      `dataSourceExpression` - the data source to set