QueryParser

Undocumented in source.
class QueryParser {}

Constructors

this
this(EntityMetaData metadata, string query)
Undocumented in source.

Members

Functions

addFromSQL
void addFromSQL(Dialect dialect, ParsedQuery res)
Undocumented in source. Be warned that the author may not have intended to support it.
addOrderByClauseItem
void addOrderByClauseItem(string aliasName, string propertyName, bool asc)
Undocumented in source. Be warned that the author may not have intended to support it.
addOrderBySQL
void addOrderBySQL(Dialect dialect, ParsedQuery res)
Undocumented in source. Be warned that the author may not have intended to support it.
addSelectClauseItem
void addSelectClauseItem(string aliasName, string[] propertyNames)
Undocumented in source. Be warned that the author may not have intended to support it.
addSelectSQL
int addSelectSQL(Dialect dialect, ParsedQuery res, string tableName, bool first, EntityInfo ei)
Undocumented in source. Be warned that the author may not have intended to support it.
addSelectSQL
void addSelectSQL(Dialect dialect, ParsedQuery res)
Undocumented in source. Be warned that the author may not have intended to support it.
addWhereCondition
void addWhereCondition(Token t, int basePrecedency, Dialect dialect, ParsedQuery res)
Undocumented in source. Be warned that the author may not have intended to support it.
addWhereSQL
void addWhereSQL(Dialect dialect, ParsedQuery res)
Undocumented in source. Be warned that the author may not have intended to support it.
appendFromClause
void appendFromClause(Token context, string[] path, string aliasName, JoinType joinType, bool fetch)
Undocumented in source. Be warned that the author may not have intended to support it.
convertFields
void convertFields(Token[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
convertIsNullIsNotNull
void convertIsNullIsNotNull(Token[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
defaultSelectClause
void defaultSelectClause()
Undocumented in source. Be warned that the author may not have intended to support it.
errorContext
string errorContext(Token token)
Undocumented in source. Be warned that the author may not have intended to support it.
findFromClauseByAlias
FromClauseItem findFromClauseByAlias(string aliasName)
Undocumented in source. Be warned that the author may not have intended to support it.
findKeyword
int findKeyword(KeywordType k, int startFrom)

returns position of keyword in tokens array, -1 if not found

foldBraces
void foldBraces(Token[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
foldCommaSeparatedList
void foldCommaSeparatedList(Token braces)
Undocumented in source. Be warned that the author may not have intended to support it.
foldOperators
void foldOperators(Token[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
makeSQL
ParsedQuery makeSQL(Dialect dialect)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
void parse()
Undocumented in source. Be warned that the author may not have intended to support it.
parseFromClause
void parseFromClause(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
parseOrderByClauseItem
void parseOrderByClauseItem(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
parseOrderClause
void parseOrderClause(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
parseSelectClause
void parseSelectClause(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
parseSelectClauseItem
void parseSelectClauseItem(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
parseWhereClause
void parseWhereClause(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
processParameterNames
void processParameterNames(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
validateSelectClause
bool validateSelectClause()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

convertUnaryPlusMinus
void convertUnaryPlusMinus(Token[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
dropBraces
void dropBraces(Token[] items)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fromClause
FromClause fromClause;
Undocumented in source.
metadata
EntityMetaData metadata;
Undocumented in source.
orderByClause
OrderByClauseItem[] orderByClause;
Undocumented in source.
parameterNames
string[] parameterNames;
Undocumented in source.
query
string query;
Undocumented in source.
selectClause
SelectClauseItem[] selectClause;
Undocumented in source.
tokens
Token[] tokens;
Undocumented in source.
whereClause
Token whereClause;
Undocumented in source.

Meta