public class SqlFileScriptQuery extends AbstractQuery implements ScriptQuery
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
blockDelimiter |
protected boolean |
haltOnError |
protected java.lang.String |
scriptFilePath |
protected java.net.URL |
scriptFileUrl |
protected Sql |
sqlAnnotation |
protected SqlLogType |
sqlLogType |
callerClassName, callerMethodName, config, message, method, queryTimeout| Constructor and Description |
|---|
SqlFileScriptQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
java.lang.String |
getBlockDelimiter() |
boolean |
getHaltOnError() |
int |
getQueryTimeout() |
java.util.function.Supplier<java.io.Reader> |
getReaderSupplier() |
java.lang.String |
getScriptFilePath() |
java.net.URL |
getScriptFileUrl() |
Sql<?> |
getSql() |
SqlLogType |
getSqlLogType() |
void |
prepare() |
void |
setBlockDelimiter(java.lang.String blockDelimiter) |
void |
setHaltOnError(boolean haltOnError) |
void |
setScriptFilePath(java.lang.String scriptFilePath) |
void |
setSqlLogType(SqlLogType sqlLogType) |
comment, getClassName, getConfig, getMethod, getMethodName, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomment, getClassName, getConfig, getMethod, getMethodNameprotected java.lang.String scriptFilePath
protected java.lang.String blockDelimiter
protected boolean haltOnError
protected java.net.URL scriptFileUrl
protected Sql sqlAnnotation
protected SqlLogType sqlLogType
public void setScriptFilePath(java.lang.String scriptFilePath)
public void setBlockDelimiter(java.lang.String blockDelimiter)
public void setHaltOnError(boolean haltOnError)
public void setSqlLogType(SqlLogType sqlLogType)
public void prepare()
prepare in interface Queryprepare in class AbstractQuerypublic int getQueryTimeout()
getQueryTimeout in interface QuerygetQueryTimeout in class AbstractQuerypublic java.lang.String getScriptFilePath()
getScriptFilePath in interface ScriptQuerypublic java.net.URL getScriptFileUrl()
getScriptFileUrl in interface ScriptQuerypublic java.util.function.Supplier<java.io.Reader> getReaderSupplier()
getReaderSupplier in interface ScriptQuerypublic java.lang.String getBlockDelimiter()
getBlockDelimiter in interface ScriptQuerypublic boolean getHaltOnError()
getHaltOnError in interface ScriptQuerypublic SqlLogType getSqlLogType()
getSqlLogType in interface ScriptQuery