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

public final Class SimpleSelectClause

extends AbstractSelectClause
Class Inheritance

The SELECT statement queries data from entities. This version simply does not handle OBJECT and NEW identifiers. It is used from within another expression.
BNF: simple_select_clause ::= SELECT [DISTINCT] simple_select_expression
Author
Pascal Filion
Since
2.3
Version
2.5
See Also
AbstractSelectClause

Constructor Summary

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

Creates a new SimpleSelectClause.

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

SimpleSelectClauseback to summary
public SimpleSelectClause(AbstractExpression parent)

Creates a new SimpleSelectClause.

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