Class DropIndexStatementHandler
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.dialect.handler.ddl.DropIndexStatementHandler
-
- All Implemented Interfaces:
SQLStatementHandler
public final class DropIndexStatementHandler extends Object implements SQLStatementHandler
Drop index statement handler for different dialect SQL statements.
-
-
Constructor Summary
Constructors Constructor Description DropIndexStatementHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<AlgorithmTypeSegment>getAlgorithmTypeSegment(DropIndexStatement dropIndexStatement)Get algorithm type segment.static Optional<LockTableSegment>getLockTableSegment(DropIndexStatement dropIndexStatement)Get lock table segment.static Optional<SimpleTableSegment>getSimpleTableSegment(DropIndexStatement dropIndexStatement)Get simple table segment.static booleanifExists(DropIndexStatement dropIndexStatement)Judge whether contains exist clause or not.
-
-
-
Method Detail
-
getSimpleTableSegment
public static Optional<SimpleTableSegment> getSimpleTableSegment(DropIndexStatement dropIndexStatement)
Get simple table segment.- Parameters:
dropIndexStatement- drop index statement- Returns:
- simple table segment
-
ifExists
public static boolean ifExists(DropIndexStatement dropIndexStatement)
Judge whether contains exist clause or not.- Parameters:
dropIndexStatement- drop index statement- Returns:
- whether contains exist clause or not
-
getAlgorithmTypeSegment
public static Optional<AlgorithmTypeSegment> getAlgorithmTypeSegment(DropIndexStatement dropIndexStatement)
Get algorithm type segment.- Parameters:
dropIndexStatement- drop index statement- Returns:
- algorithm type segment
-
getLockTableSegment
public static Optional<LockTableSegment> getLockTableSegment(DropIndexStatement dropIndexStatement)
Get lock table segment.- Parameters:
dropIndexStatement- drop index statement- Returns:
- lock table segment
-
-