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

# Interface DataSourceHolder

All Known Implementing Classes:
  `DataSourceExpression`, `FilterExpression`, `FromExpression`, `GroupExpression`, `HavingExpression`, `JoinExpression`, `LimitExpression`, `OnExpression`, `OrderExpression`, `ProcessExpression`, `SelectExpression`, `WhereExpression`

public interface DataSourceHolder
Represents data source holder, e.g. from, joins, where, groupby, etc.

Since:
  4.0.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataSourceExpression`
  `getDataSourceExpression()`
  Returns the current data-source expression.
  `void`
  `setDataSourceExpression(DataSourceExpression dataSourceExpression)`
  Updates the current data-source expression.

- ## Method Details

  - ### getDataSourceExpression

    DataSourceExpression getDataSourceExpression()
    Returns the current data-source expression.
    Returns:
      the current data source

  - ### setDataSourceExpression

    void setDataSourceExpression(DataSourceExpression dataSourceExpression)
    Updates the current data-source expression.
    Parameters:
      `dataSourceExpression` - the new data source