class LimitSubqueryWalker extends TreeWalkerAdapter

Replaces the selectClause of the AST with a SELECT DISTINCT root.id equivalent.

Constants

IDENTIFIER_TYPE

ID type hint.

Methods

void
walkSelectStatement(SelectStatement $AST)

Walks down a SelectStatement AST node, modifying it to retrieve DISTINCT ids of the root Entity.

Details

at line 64
void walkSelectStatement(SelectStatement $AST)

Walks down a SelectStatement AST node, modifying it to retrieve DISTINCT ids of the root Entity.

Parameters

SelectStatement $AST

Return Value

void

Exceptions

RuntimeException