|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQScriptParser
AQScriptParser
Synopsis: A collection of methods for parsing SQL statements. Description:
Method Summary | |
---|---|
String[] |
parse(String scriptText)
Creates a list of SQL statements base on a SQL script specified. |
void |
setAtSeparator(boolean value)
To set the statement separator as a "@". |
void |
setSemiColonSeparator(boolean value)
To set the statement separator as a ";". |
void |
setServerSideCommentIsBlock(boolean value)
To set the server side comment as a "/* ... |
void |
setServerSideCommentIsDoubleDash(boolean value)
To set the server side comment as a "--". |
void |
setServerSideCommentIsDoubleSlash(boolean value)
To set the server side comment as a "//". |
void |
setSlashSeparator(boolean value)
To set the statement separator as a "/". |
Method Detail |
---|
String[] parse(String scriptText)
scriptText
- A string representing the script.
void setServerSideCommentIsBlock(boolean value)
value
- true if you want to use "/* ... */" as comment block; false otherwise.void setServerSideCommentIsDoubleSlash(boolean value)
value
- boolean - true if you want to use "//" as a comment; false otherwise.void setServerSideCommentIsDoubleDash(boolean value)
value
- true if you want to use "--" as a comment; false otherwise.void setSemiColonSeparator(boolean value)
value
- true if you want to use ";" as a separator; false otherwise.void setSlashSeparator(boolean value)
value
- true if you want to use "/" as a separator; false otherwise.void setAtSeparator(boolean value)
value
- true if you want to use "@" as a separator; false otherwise.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |