public static class StandardDialect.StandardScriptBlockContext extends java.lang.Object implements ScriptBlockContext
ScriptBlockContext.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
inBlock
true if this context is inside of a block |
protected java.util.List<java.lang.String> |
keywords
the key words
|
protected java.util.List<java.util.List<java.lang.String>> |
sqlBlockStartKeywordsList
the key wards that represents the start of a block
|
| Constructor and Description |
|---|
StandardScriptBlockContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyword(java.lang.String keyword)
Adds the SQL keyword.
|
protected void |
check()
Whether this context is inside of a block.
|
boolean |
isInBlock()
Whether this context is in an SQL block.
|
protected final java.util.List<java.util.List<java.lang.String>> sqlBlockStartKeywordsList
protected final java.util.List<java.lang.String> keywords
protected boolean inBlock
true if this context is inside of a blockpublic void addKeyword(java.lang.String keyword)
ScriptBlockContextaddKeyword in interface ScriptBlockContextkeyword - the SQL keywordprotected void check()
public boolean isInBlock()
ScriptBlockContextisInBlock in interface ScriptBlockContexttrue if this context is in an SQL block