ParserResult
public class ParserResult
http://www.doctrine-project.org
Constructor Summary | |
---|---|
Initializes a new instance of the ParserResult class. |
Method Summary | |
---|---|
void | addParameterMapping(string|integer dqlPosition, integer sqlPosition) Adds a DQL to SQL parameter mapping. |
array | Gets all DQL to SQL parameter mappings. |
ResultSetMapping | Gets the ResultSetMapping for the parsed query. |
\Doctrine\ORM\Query\Exec\AbstractSqlExecutor | Gets the SQL executor used by this ParserResult. |
array | getSqlParameterPositions(string|integer dqlPosition) Gets the SQL parameter positions for a DQL parameter name/position. |
void | setResultSetMapping(ResultSetMapping rsm) Sets the ResultSetMapping of the parsed query. |
void | setSqlExecutor(\Doctrine\ORM\Query\Exec\AbstractSqlExecutor executor) Sets the SQL executor that should be used for this ParserResult. |
public ParserResult()
Initializes a new instance of the ParserResult class. The new instance is initialized with an empty ResultSetMapping.
public void addParameterMapping(string|integer dqlPosition, integer sqlPosition)
Adds a DQL to SQL parameter mapping. One DQL parameter name/position can map to several SQL parameter positions.
public array getParameterMappings()
Gets all DQL to SQL parameter mappings.
public ResultSetMapping getResultSetMapping()
Gets the ResultSetMapping for the parsed query.
public \Doctrine\ORM\Query\Exec\AbstractSqlExecutor getSqlExecutor()
Gets the SQL executor used by this ParserResult.
public array getSqlParameterPositions(string|integer dqlPosition)
Gets the SQL parameter positions for a DQL parameter name/position.
public void setResultSetMapping(ResultSetMapping rsm)
Sets the ResultSetMapping of the parsed query.
public void setSqlExecutor(\Doctrine\ORM\Query\Exec\AbstractSqlExecutor executor)
Sets the SQL executor that should be used for this ParserResult.
Encapsulates the resulting components from a DQL query parsing process that can be serialized.