PGSQLStatementParser

Undocumented in source.

Constructors

this
this(PGExprParser parser)
Undocumented in source.
this
this(string sql)
Undocumented in source.
this
this(string sql, SQLParserFeature[] features)
Undocumented in source.
this
this(Lexer lexer)
Undocumented in source.

Members

Functions

createSQLSelectParser
PGSelectParser createSQLSelectParser()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterColumn
SQLAlterTableAlterColumn parseAlterColumn()
Undocumented in source. Be warned that the author may not have intended to support it.
parseBegin
PGStartTransactionStatement parseBegin()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCommit
SQLStatement parseCommit()
Undocumented in source. Be warned that the author may not have intended to support it.
parseConnectTo
SQLStatement parseConnectTo()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateIndex
SQLStatement parseCreateIndex(bool acceptCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateSequence
SQLCreateSequenceStatement parseCreateSequence(bool acceptCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDeleteStatement
PGDeleteStatement parseDeleteStatement()
Undocumented in source. Be warned that the author may not have intended to support it.
parseInsert
PGInsertStatement parseInsert()
Undocumented in source. Be warned that the author may not have intended to support it.
parseSelect
PGSelectStatement parseSelect()
Undocumented in source. Be warned that the author may not have intended to support it.
parseSet
SQLStatement parseSet()
Undocumented in source. Be warned that the author may not have intended to support it.
parseShow
SQLStatement parseShow()
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementListDialect
bool parseStatementListDialect(List!(SQLStatement) statementList)
Undocumented in source. Be warned that the author may not have intended to support it.
parseUpdateStatement
SQLUpdateStatement parseUpdateStatement()
Undocumented in source. Be warned that the author may not have intended to support it.
parseWith
SQLStatement parseWith()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

LOCAL
enum string LOCAL;
Undocumented in source.
TIME
enum string TIME;
Undocumented in source.
TIME_ZONE
enum string TIME_ZONE;
Undocumented in source.

Inherited Members

From SQLStatementParser

exprParser
SQLExprParser exprParser;
Undocumented in source.
parseCompleteValues
bool parseCompleteValues;
Undocumented in source.
parseValuesSize
int parseValuesSize;
Undocumented in source.
selectListCache
SQLSelectListCache selectListCache;
Undocumented in source.
insertColumnsCache
InsertColumnsCache insertColumnsCache;
Undocumented in source.
isKeepComments
bool isKeepComments()
Undocumented in source. Be warned that the author may not have intended to support it.
setKeepComments
void setKeepComments(bool keepComments)
Undocumented in source. Be warned that the author may not have intended to support it.
getExprParser
SQLExprParser getExprParser()
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementList
List!(SQLStatement) parseStatementList()
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementList
List!(SQLStatement) parseStatementList(SQLObject parent)
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementList
void parseStatementList(List!(SQLStatement) statementList)
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementList
void parseStatementList(List!(SQLStatement) statementList, int max)
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementList
void parseStatementList(List!(SQLStatement) statementList, int max, SQLObject parent)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDump
SQLStatement parseDump()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDrop
SQLStatement parseDrop()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropServer
SQLStatement parseDropServer()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropLogFileGroup
SQLStatement parseDropLogFileGroup()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropEvent
SQLStatement parseDropEvent()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterFunction
SQLStatement parseAlterFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
parseKill
SQLStatement parseKill()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCase
SQLStatement parseCase()
Undocumented in source. Be warned that the author may not have intended to support it.
parseIf
SQLStatement parseIf()
Undocumented in source. Be warned that the author may not have intended to support it.
parseWhile
SQLStatement parseWhile()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDeclare
SQLStatement parseDeclare()
Undocumented in source. Be warned that the author may not have intended to support it.
parseRepeat
SQLStatement parseRepeat()
Undocumented in source. Be warned that the author may not have intended to support it.
parseLeave
SQLStatement parseLeave()
Undocumented in source. Be warned that the author may not have intended to support it.
parseReturn
SQLStatement parseReturn()
Undocumented in source. Be warned that the author may not have intended to support it.
parseUpsert
SQLStatement parseUpsert()
Undocumented in source. Be warned that the author may not have intended to support it.
parseRollback
SQLRollbackStatement parseRollback()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCommit
SQLStatement parseCommit()
Undocumented in source. Be warned that the author may not have intended to support it.
parseShow
SQLStatement parseShow()
Undocumented in source. Be warned that the author may not have intended to support it.
parseUse
SQLUseStatement parseUse()
Undocumented in source. Be warned that the author may not have intended to support it.
parseGrant
SQLGrantStatement parseGrant()
Undocumented in source. Be warned that the author may not have intended to support it.
parsePrivileages
void parsePrivileages(List!(SQLExpr) privileges, SQLObject parent)
Undocumented in source. Be warned that the author may not have intended to support it.
parseRevoke
SQLRevokeStatement parseRevoke()
Undocumented in source. Be warned that the author may not have intended to support it.
parseSavePoint
SQLStatement parseSavePoint()
Undocumented in source. Be warned that the author may not have intended to support it.
parseReleaseSavePoint
SQLStatement parseReleaseSavePoint()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlter
SQLStatement parseAlter()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterTableRename
SQLAlterTableItem parseAlterTableRename()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterColumn
SQLAlterTableAlterColumn parseAlterColumn()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterDrop
void parseAlterDrop(SQLAlterTableStatement stmt)
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterTableDropPartition
SQLAlterTableDropPartition parseAlterTableDropPartition(bool ifExists)
Undocumented in source. Be warned that the author may not have intended to support it.
parseRename
SQLStatement parseRename()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropTable
SQLDropTableStatement parseDropTable(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropSequence
SQLDropSequenceStatement parseDropSequence(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropTrigger
SQLDropTriggerStatement parseDropTrigger(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropView
SQLDropViewStatement parseDropView(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropDatabase
SQLDropDatabaseStatement parseDropDatabase(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropFunction
SQLDropFunctionStatement parseDropFunction(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropTablespace
SQLDropTableSpaceStatement parseDropTablespace(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropProcedure
SQLDropProcedureStatement parseDropProcedure(bool acceptDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
parseTruncate
SQLStatement parseTruncate()
Undocumented in source. Be warned that the author may not have intended to support it.
parseInsert
SQLStatement parseInsert()
Undocumented in source. Be warned that the author may not have intended to support it.
parseInsert0
void parseInsert0(SQLInsertInto insertStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
parseInsert0_hinits
void parseInsert0_hinits(SQLInsertInto insertStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
parseInsert0
void parseInsert0(SQLInsertInto insertStatement, bool acceptSubQuery)
Undocumented in source. Be warned that the author may not have intended to support it.
parseInsertColumns
void parseInsertColumns(SQLInsertInto insert)
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatementListDialect
bool parseStatementListDialect(List!(SQLStatement) statementList)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropUser
SQLDropUserStatement parseDropUser()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDropIndex
SQLStatement parseDropIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCall
SQLCallStatement parseCall()
Undocumented in source. Be warned that the author may not have intended to support it.
parseSet
SQLStatement parseSet()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAssignItems
void parseAssignItems(List!(SQLAssignItem) items, SQLObject parent)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreatePackage
SQLStatement parseCreatePackage()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreate
SQLStatement parseCreate()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateType
SQLStatement parseCreateType()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateUser
SQLStatement parseCreateUser()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateFunction
SQLCreateFunctionStatement parseCreateFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateMaterializedView
SQLStatement parseCreateMaterializedView()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateDbLink
SQLStatement parseCreateDbLink()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateSynonym
SQLStatement parseCreateSynonym()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateTrigger
SQLStatement parseCreateTrigger()
Undocumented in source. Be warned that the author may not have intended to support it.
parseBlock
SQLStatement parseBlock()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateDatabase
SQLStatement parseCreateDatabase()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateProcedure
SQLCreateProcedureStatement parseCreateProcedure()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateSequence
SQLStatement parseCreateSequence(bool acceptCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateIndex
SQLStatement parseCreateIndex(bool acceptCreate)
Undocumented in source. Be warned that the author may not have intended to support it.
getSQLCreateTableParser
SQLCreateTableParser getSQLCreateTableParser()
Undocumented in source. Be warned that the author may not have intended to support it.
parseSelect
SQLStatement parseSelect()
Undocumented in source. Be warned that the author may not have intended to support it.
createSQLSelectParser
SQLSelectParser createSQLSelectParser()
Undocumented in source. Be warned that the author may not have intended to support it.
parseUpdateStatement
SQLUpdateStatement parseUpdateStatement()
Undocumented in source. Be warned that the author may not have intended to support it.
parseUpdateSet
void parseUpdateSet(SQLUpdateStatement update)
Undocumented in source. Be warned that the author may not have intended to support it.
createUpdateStatement
SQLUpdateStatement createUpdateStatement()
Undocumented in source. Be warned that the author may not have intended to support it.
parseDeleteStatement
SQLDeleteStatement parseDeleteStatement()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateTable
SQLCreateTableStatement parseCreateTable()
Undocumented in source. Be warned that the author may not have intended to support it.
parseCreateView
SQLCreateViewStatement parseCreateView()
Undocumented in source. Be warned that the author may not have intended to support it.
parseComment
SQLCommentStatement parseComment()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterTableAddColumn
SQLAlterTableAddColumn parseAlterTableAddColumn()
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatement
SQLStatement parseStatement()
Undocumented in source. Be warned that the author may not have intended to support it.
parseStatement
SQLStatement parseStatement(bool tryBest)

@param tryBest - 为true去解析并忽略之后的错误 强制建议除非明确知道可以忽略才传tryBest=true, 不然会忽略语法错误,且截断sql,导致update和delete无where条件下执行!!!

parseExplain
SQLExplainStatement parseExplain()
Undocumented in source. Be warned that the author may not have intended to support it.
parseAlterTableAddIndex
SQLAlterTableAddIndex parseAlterTableAddIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
parseOpen
SQLOpenStatement parseOpen()

parse cursor open statement

parseFetch
SQLFetchStatement parseFetch()
Undocumented in source. Be warned that the author may not have intended to support it.
parseClose
SQLStatement parseClose()
Undocumented in source. Be warned that the author may not have intended to support it.
isParseCompleteValues
bool isParseCompleteValues()
Undocumented in source. Be warned that the author may not have intended to support it.
setParseCompleteValues
void setParseCompleteValues(bool parseCompleteValues)
Undocumented in source. Be warned that the author may not have intended to support it.
getParseValuesSize
int getParseValuesSize()
Undocumented in source. Be warned that the author may not have intended to support it.
setParseValuesSize
void setParseValuesSize(int parseValuesSize)
Undocumented in source. Be warned that the author may not have intended to support it.
parseMerge
SQLStatement parseMerge()
Undocumented in source. Be warned that the author may not have intended to support it.
parseErrorLoggingClause
SQLErrorLoggingClause parseErrorLoggingClause()
Undocumented in source. Be warned that the author may not have intended to support it.
parseHints
void parseHints(List!(SQLHint) hints)
Undocumented in source. Be warned that the author may not have intended to support it.
parseDescribe
SQLStatement parseDescribe()
Undocumented in source. Be warned that the author may not have intended to support it.
parseWithQuery
SQLWithSubqueryClause parseWithQuery()
Undocumented in source. Be warned that the author may not have intended to support it.
parseWith
SQLStatement parseWith()
Undocumented in source. Be warned that the author may not have intended to support it.
parseValueClause
void parseValueClause(List!(ValuesClause) valueClauseList, int columnSize, SQLObject parent)
Undocumented in source. Be warned that the author may not have intended to support it.
getSelectListCache
SQLSelectListCache getSelectListCache()
Undocumented in source. Be warned that the author may not have intended to support it.
setSelectListCache
void setSelectListCache(SQLSelectListCache selectListCache)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta