Package com.ptsmods.mysqlw.procedure
Class BlockBuilder
java.lang.Object
com.ptsmods.mysqlw.procedure.BlockBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbegin()static BlockBuilderbuilder()static BlockBuilderbuilder(Database.RDBMS type) closeCursor(String cursor) declare(String[] varNames, ColumnStructure<?> type) declare(String varName, ColumnStructure<?> type) declareCondition(String name, ConditionValue conditionValue) declareCursor(String name, SelectBuilder query) declareHandler(DeclareHandlerStmt.HandlerAction action, ConditionValue conditionValue, Statement statement) empty()endCase()endLoop()endWhile()fetchCursor(String cursor, String... columns) openCursor(String cursor) repeat(QueryCondition condition, BlockBuilder builder) repeat(QueryCondition condition, Statement statement) set(String variable, SelectBuilder query) while_(QueryCondition condition)
-
Method Details
-
builder
-
builder
-
getStatements
-
stmt
-
stmt
-
stmts
-
stmts
-
raw
-
begin
-
declare
-
declare
-
set
-
set
-
declareHandler
public BlockBuilder declareHandler(DeclareHandlerStmt.HandlerAction action, ConditionValue conditionValue, Statement statement) -
declareCondition
-
declareCursor
-
openCursor
-
fetchCursor
-
closeCursor
-
loop
-
repeat
-
repeat
-
while_
-
iterate
-
leave
-
case_
-
ifBlock
-
endLoop
-
endWhile
-
endCase
-
end
-
empty
-
buildBlock
-
buildString
-