org.eclipse.datatools.modelbase.sql.query
Interface QuerySelect

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, QueryExpressionBody, SQLObject, SQLQueryObject, TableExpression, TableReference

public interface QuerySelect
extends QueryExpressionBody

A representation of the model object 'Select'.

The following features are supported:

See Also:
SQLQueryModelPackage.getQuerySelect()

Method Summary
 org.eclipse.emf.common.util.EList getFromClause()
          Returns the value of the 'From Clause' containment reference list.
 org.eclipse.emf.common.util.EList getGroupByClause()
          Returns the value of the 'Group By Clause' containment reference list.
 QuerySearchCondition getHavingClause()
          Returns the value of the 'Having Clause' containment reference.
 org.eclipse.emf.common.util.EList getIntoClause()
          Returns the value of the 'Into Clause' containment reference list.
 org.eclipse.emf.common.util.EList getSelectClause()
          Returns the value of the 'Select Clause' containment reference list.
 QuerySearchCondition getWhereClause()
          Returns the value of the 'Where Clause' containment reference.
 boolean isDistinct()
          Returns the value of the 'Distinct' attribute.
 boolean isSetHavingClause()
          Returns whether the value of the 'Having Clause' containment reference is set.
 boolean isSetWhereClause()
          Returns whether the value of the 'Where Clause' containment reference is set.
 void setDistinct(boolean value)
          Sets the value of the 'Distinct' attribute.
 void setHavingClause(QuerySearchCondition value)
          Sets the value of the 'Having Clause' containment reference.
 void setWhereClause(QuerySearchCondition value)
          Sets the value of the 'Where Clause' containment reference.
 void unsetHavingClause()
          Unsets the value of the 'Having Clause' containment reference.
 void unsetWhereClause()
          Unsets the value of the 'Where Clause' containment reference.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.QueryExpressionBody
getCombinedLeft, getCombinedRight, getPredicateExists, getQueryExpression, getQueryNest, getRowFetchLimit, getSortSpecList, getUpdateSourceQuery, getWithTableSpecification, setCombinedLeft, setCombinedRight, setPredicateExists, setQueryExpression, setQueryNest, setRowFetchLimit, setUpdateSourceQuery, setWithTableSpecification
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.TableExpression
getColumnList, getMergeTargetTable, getResultTableAllColumns, getTableCorrelation, getValueExprColumns, setMergeTargetTable, setTableCorrelation
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.TableReference
getMergeSourceTable, getNest, getQuerySelect, getTableJoinedLeft, getTableJoinedRight, setMergeSourceTable, setNest, setQuerySelect, setTableJoinedLeft, setTableJoinedRight
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.SQLQueryObject
getSourceInfo, getSQL, setSourceInfo, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isDistinct

boolean isDistinct()
Returns the value of the 'Distinct' attribute.

If the meaning of the 'Distinct' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Distinct' attribute.
See Also:
setDistinct(boolean), SQLQueryModelPackage.getQuerySelect_Distinct()

setDistinct

void setDistinct(boolean value)
Sets the value of the 'Distinct' attribute.

Parameters:
value - the new value of the 'Distinct' attribute.
See Also:
isDistinct()

getHavingClause

QuerySearchCondition getHavingClause()
Returns the value of the 'Having Clause' containment reference. It is bidirectional and its opposite is 'Query Select Having'.

If the meaning of the 'Having Clause' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Having Clause' containment reference.
See Also:
isSetHavingClause(), unsetHavingClause(), setHavingClause(QuerySearchCondition), SQLQueryModelPackage.getQuerySelect_HavingClause(), QuerySearchCondition.getQuerySelectHaving()

setHavingClause

void setHavingClause(QuerySearchCondition value)
Sets the value of the 'Having Clause' containment reference.

Parameters:
value - the new value of the 'Having Clause' containment reference.
See Also:
isSetHavingClause(), unsetHavingClause(), getHavingClause()

unsetHavingClause

void unsetHavingClause()
Unsets the value of the 'Having Clause' containment reference.

See Also:
isSetHavingClause(), getHavingClause(), setHavingClause(QuerySearchCondition)

isSetHavingClause

boolean isSetHavingClause()
Returns whether the value of the 'Having Clause' containment reference is set.

Returns:
whether the value of the 'Having Clause' containment reference is set.
See Also:
unsetHavingClause(), getHavingClause(), setHavingClause(QuerySearchCondition)

getWhereClause

QuerySearchCondition getWhereClause()
Returns the value of the 'Where Clause' containment reference. It is bidirectional and its opposite is 'Query Select Where'.

If the meaning of the 'Where Clause' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Where Clause' containment reference.
See Also:
isSetWhereClause(), unsetWhereClause(), setWhereClause(QuerySearchCondition), SQLQueryModelPackage.getQuerySelect_WhereClause(), QuerySearchCondition.getQuerySelectWhere()

setWhereClause

void setWhereClause(QuerySearchCondition value)
Sets the value of the 'Where Clause' containment reference.

Parameters:
value - the new value of the 'Where Clause' containment reference.
See Also:
isSetWhereClause(), unsetWhereClause(), getWhereClause()

unsetWhereClause

void unsetWhereClause()
Unsets the value of the 'Where Clause' containment reference.

See Also:
isSetWhereClause(), getWhereClause(), setWhereClause(QuerySearchCondition)

isSetWhereClause

boolean isSetWhereClause()
Returns whether the value of the 'Where Clause' containment reference is set.

Returns:
whether the value of the 'Where Clause' containment reference is set.
See Also:
unsetWhereClause(), getWhereClause(), setWhereClause(QuerySearchCondition)

getGroupByClause

org.eclipse.emf.common.util.EList getGroupByClause()
Returns the value of the 'Group By Clause' containment reference list. The list contents are of type GroupingSpecification. It is bidirectional and its opposite is 'Query Select'.

If the meaning of the 'Group By Clause' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Group By Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_GroupByClause(), GroupingSpecification.getQuerySelect()

getSelectClause

org.eclipse.emf.common.util.EList getSelectClause()
Returns the value of the 'Select Clause' containment reference list. The list contents are of type QueryResultSpecification. It is bidirectional and its opposite is 'Query Select'.

If the meaning of the 'Select Clause' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Select Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_SelectClause(), QueryResultSpecification.getQuerySelect()

getFromClause

org.eclipse.emf.common.util.EList getFromClause()
Returns the value of the 'From Clause' containment reference list. The list contents are of type TableReference. It is bidirectional and its opposite is 'Query Select'.

If the meaning of the 'From Clause' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'From Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_FromClause(), TableReference.getQuerySelect()

getIntoClause

org.eclipse.emf.common.util.EList getIntoClause()
Returns the value of the 'Into Clause' containment reference list. The list contents are of type ValueExpressionVariable. It is bidirectional and its opposite is 'Query Select'.

If the meaning of the 'Into Clause' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Into Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_IntoClause(), ValueExpressionVariable.getQuerySelect()