Class PrepareStatement
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement
-
- org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.PrepareStatement
-
- All Implemented Interfaces:
ASTNode,DDLStatement,SQLStatement
- Direct Known Subclasses:
MySQLPrepareStatement,OpenGaussPrepareStatement,PostgreSQLPrepareStatement
public abstract class PrepareStatement extends AbstractSQLStatement implements DDLStatement
Prepare statement.
-
-
Constructor Summary
Constructors Constructor Description PrepareStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<DeleteStatement>getDelete()Get delete statement.Optional<InsertStatement>getInsert()Get insert statement.Optional<SelectStatement>getSelect()Get select statement.Optional<UpdateStatement>getUpdate()Get update statement.-
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
-
getSelect
public Optional<SelectStatement> getSelect()
Get select statement.- Returns:
- select statement
-
getInsert
public Optional<InsertStatement> getInsert()
Get insert statement.- Returns:
- insert statement
-
getUpdate
public Optional<UpdateStatement> getUpdate()
Get update statement.- Returns:
- update statement
-
getDelete
public Optional<DeleteStatement> getDelete()
Get delete statement.- Returns:
- delete statement
-
-