Class PrepareStatementQuerySegment
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.segment.dml.prepare.PrepareStatementQuerySegment
-
- All Implemented Interfaces:
ASTNode,SQLSegment
public final class PrepareStatementQuerySegment extends Object implements SQLSegment
Prepare statement query segment.
-
-
Constructor Summary
Constructors Constructor Description PrepareStatementQuerySegment()
-
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 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.segment.SQLSegment
getStartIndex, getStopIndex
-
-
-
-
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
-
-