Package io.github.fupacat.ast
Class WaitForStatement
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.TSqlStatement
io.github.fupacat.ast.WaitForStatement
- All Implemented Interfaces:
Serializable
Represents the waitfor statement.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionTime to wait - in case of Delay or Time, null in case of statement.Inner statement (can be null - in Time and Delay cases)Optional timeout in case of statementThe type of the wait.Fields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
WaitForOption
The type of the wait. -
Parameter
Time to wait - in case of Delay or Time, null in case of statement. Can be a string or a variable. -
Timeout
Optional timeout in case of statement -
Statement
Inner statement (can be null - in Time and Delay cases)
-
-
Constructor Details
-
WaitForStatement
public WaitForStatement()
-
-
Method Details
-
accept
- Overrides:
acceptin classTSqlStatement
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlStatement
-