You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "TeslaCN (via GitHub)" <gi...@apache.org> on 2023/05/30 02:15:42 UTC
[GitHub] [shardingsphere] TeslaCN commented on a diff in pull request #25939: Support create index ALGORITHM and LOCK options parse
TeslaCN commented on code in PR #25939:
URL: https://github.com/apache/shardingsphere/pull/25939#discussion_r1209642880
##########
parser/sql/statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/dialect/statement/mysql/ddl/MySQLCreateIndexStatement.java:
##########
@@ -17,11 +17,24 @@
package org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.ddl;
+import lombok.Getter;
+import lombok.Setter;
+import org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.table.AlgorithmTypeSegment;
+import org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.table.LockTableSegment;
import org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateIndexStatement;
import org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.MySQLStatement;
+import java.util.Collection;
+import java.util.LinkedList;
+
/**
* MySQL create index statement.
*/
+@Setter
+@Getter
public final class MySQLCreateIndexStatement extends CreateIndexStatement implements MySQLStatement {
+
+ private final Collection<AlgorithmTypeSegment> algorithmSegment = new LinkedList<>();
Review Comment:
When will there be multiple algorithm options?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org