public interface AQScriptParser
Synopsis:
A collection of methods for parsing SQL statements.
 Description:
 The method parse(), lets the user parse a SQL script that has server statements into a list of individual SQL
 statements.
| Modifier and Type | Method and Description | 
|---|---|
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 "/". 
 | 
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.
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.