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

public final Class StartWithClause

extends AbstractConditionalClause
Class Inheritance

A START WITH clause is optional and specifies the root row(s) of the hierarchy. If this clause is omitted, then Oracle uses all rows in the table as root rows. The START WITH condition can contain a subquery, but it cannot contain a scalar subquery expression.
BNF: start_with_clause ::= START WITH conditional_expression
Author
Pascal Filion
Since
2.5
Version
2.5
See Also
HierarchicalQueryClause

Constructor Summary

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

Creates a new StartWithClause.

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
Inherited from org.eclipse.persistence.jpa.jpql.parser.AbstractConditionalClause:
acceptChildrenaddChildrenToaddOrderedChildrenTobuildCollectionExpressionfindQueryBNFgetActualIdentifiergetConditionalExpressiongetIdentifierhasConditionalExpressionhasSpaceAfterIdentifierisParsingCompleteparseshouldSkipLiteraltoParsedText

Constructor Detail

StartWithClauseback to summary
public StartWithClause(AbstractExpression parent)

Creates a new StartWithClause.

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