Top Description Constructors Methods
org.eclipse.persistence.jpa.jpql.parser

public final Class SelectClause

extends AbstractSelectClause
Class Inheritance

The SELECT clause queries data from entities.
BNF: select_clause ::= SELECT [DISTINCT] select_expression {, select_expression}*
Author
Pascal Filion
Since
2.3
Version
2.5
See Also
AbstractSelectClause

Constructor Summary

AccessConstructor and Description
public
SelectClause(AbstractExpression
The parent of this expression
parent
)

Creates a new SelectClause.

Method Summary

Modifier and TypeMethod and Description
public void
accept(ExpressionVisitor
The ExpressionVisitor to visit this object
visitor
)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.
public JPQLQueryBNF
public String
getSelectItemQueryBNFId()

Implements abstract org.eclipse.persistence.jpa.jpql.parser.AbstractSelectClause.getSelectItemQueryBNFId.

Returns the unique identifier of the JPQLQueryBNF for the list of select items to parse.
Inherited from org.eclipse.persistence.jpa.jpql.parser.AbstractSelectClause:
acceptChildrenaddChildrenToaddOrderedChildrenTobuildCollectionExpressionfindQueryBNFgetActualDistinctIdentifiergetActualIdentifiergetSelectExpressionhasDistincthasSelectExpressionhasSpaceAfterDistincthasSpaceAfterSelectparseshouldSkipLiteraltoParsedText

Constructor Detail

SelectClauseback to summary
public SelectClause(AbstractExpression parent)

Creates a new SelectClause.

Parameters
parent:AbstractExpression

The parent of this expression

Method Detail

acceptback to summary
public void accept(ExpressionVisitor visitor)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.

Parameters
visitor:ExpressionVisitor

The ExpressionVisitor to visit this object

Annotations
@Override
getQueryBNFback to summary
public JPQLQueryBNF getQueryBNF()

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.getQueryBNF.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.getQueryBNF.

Returns the BNF of this Expression.

Returns:JPQLQueryBNF

The JPQLQueryBNF, which represents the grammar of this Expression

Annotations
@Override
getSelectItemQueryBNFIdback to summary
public String getSelectItemQueryBNFId()

Implements abstract org.eclipse.persistence.jpa.jpql.parser.AbstractSelectClause.getSelectItemQueryBNFId.

Doc from org.eclipse.persistence.jpa.jpql.parser.AbstractSelectClause.getSelectItemQueryBNFId.

Returns the unique identifier of the JPQLQueryBNF for the list of select items to parse.

Returns:String

The ID of the query BNF for the list of select items to parse

Annotations
@Override