Class SQLStatement.Tag
java.lang.Object
org.nuxeo.ecm.core.storage.sql.jdbc.dialect.SQLStatement.Tag
- Enclosing class:
- SQLStatement
Tags that may condition execution of the statement.
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The tag key.static final String
Tag to only execute statement if a var is true.static final String
Tag to define a stored procedure / function / type / trigger.static final String
Tag to set a var to true if the result if the statement is empty.static final String
Tag to set a var to true if the result if the statement is not empty.static final String
Tag for a SELECT statement whose number of rows must be counted.final String
static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
TAG_TEST
Tag for a SELECT statement whose number of rows must be counted. Var "emptyResult" is set accordingly.- See Also:
-
TAG_IF
Tag to only execute statement if a var is true. Var may be preceded by ! inverse the test.- See Also:
-
TAG_PROC
Tag to define a stored procedure / function / type / trigger. Followed by its name. Use byDialect.checkStoredProcedure(java.lang.String, java.lang.String, java.lang.String, java.sql.Connection, org.nuxeo.ecm.core.storage.sql.jdbc.JDBCLogger, java.util.Map<java.lang.String, java.io.Serializable>)
.- See Also:
-
TAG_SET_IF_EMPTY
Tag to set a var to true if the result if the statement is empty.- See Also:
-
TAG_SET_IF_NOT_EMPTY
Tag to set a var to true if the result if the statement is not empty.- See Also:
-
VAR_EMPTY_RESULT
- See Also:
-
key
The tag key. -
value
-
-
Constructor Details
-
Tag
-