Class CloseStatement
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement
-
- org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CloseStatement
-
- All Implemented Interfaces:
ASTNode,DDLStatement,SQLStatement
- Direct Known Subclasses:
OpenGaussCloseStatement,PostgreSQLCloseStatement
public abstract class CloseStatement extends AbstractSQLStatement implements DDLStatement
Close statement.
-
-
Constructor Summary
Constructors Constructor Description CloseStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<CursorNameSegment>getCursorName()Get cursor name.-
Methods inherited from class org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement
addParameterMarkerSegments, getParameterCount
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement
getParameterCount
-
-
-
-
Method Detail
-
getCursorName
public Optional<CursorNameSegment> getCursorName()
Get cursor name.- Returns:
- cursor name
-
-