/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.shardingsphere.core.parsing.parser.token;

import lombok.Getter;
import org.apache.shardingsphere.core.parsing.lexer.token.DefaultKeyword;

/**
 * Insert values token.
 *
 * @author maxiaoguang
 * @author panjuan
 */
@Getter
public final class InsertValuesToken extends SQLToken {
    
    private final DefaultKeyword type;
    
    public InsertValuesToken(final int startIndex, final DefaultKeyword type) {
        super(startIndex);
        this.type = type;
    }
}

@@ -880,16 +880,38 @@
 Getter;%0A
+import lombok.Setter;%0A
 import o
@@ -976,16 +976,16 @@
 eyword;%0A
-
 %0A/**%0A * 
@@ -1119,24 +1119,36 @@
 oken %7B%0A    %0A
+    @Setter%0A
     private 
@@ -1147,22 +1147,16 @@
 private 
-final 
 DefaultK
@@ -1280,16 +1280,16 @@
 Index);%0A
-
         
@@ -1312,10 +1312,164 @@
 ;%0A    %7D%0A
+    %0A    // TODO: In order to be compatible with old ParsingEngine.%0A    public InsertValuesToken(final int startIndex) %7B%0A        super(startIndex);%0A    %7D%0A
 %7D%0A

add todo