/*
 * Copyright 2016-2018 shardingsphere.io.
 * <p>
 * Licensed 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.
 * </p>
 */

package io.shardingsphere.core.parsing.antler.util;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * Rule name constants used for visit AST.
 * 
 * @author duhongjun
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class RuleNameConstants {
    
    public static final String COLUMN_DEFINITION = "columnDefinition";
    
    public static final String COLUMN_NAME = "columnName";
    
    public static final String DATA_TYPE = "dataType";
    
    public static final String DATA_TYPE_LENGTH = "dataTypeLength";
    
    public static final String FIRST_OR_AFTER_COLUMN = "firstOrAfterColumn";
    
    public static final String PRIMARY_KEY = "primaryKey";
    
    public static final String PRIMARY_KEY_OPTION = "primaryKeyOption";
    
    public static final String KEY_PART = "keyPart";
    
    public static final String COLUMN_LIST = "columnList";
    
    public static final String ADD_COLUMN = "addColumn";
    
    public static final String CHANGE_COLUMN = "changeColumn";
    
    public static final String DROP_COLUMN = "dropColumn";
    
    public static final String MODIFY_COLUMN = "modifyColumn";
    
    public static final String MODIFY_COL_PROPERTIES = "modifyColProperties";
    
    public static final String RENAME_COLUMN = "renameColumn";
    
    public static final String DROP_PRIMARY_KEY = "dropPrimaryKey";
    
    public static final String RENAME_TABLE = "renameTable";
    
    public static final String TABLE_NAME = "tableName";
    
    public static final String ADD_INDEX = "addIndex";
    
    public static final String INDEX_NAME = "indexName";
    
    public static final String DROP_INDEX_REF = "dropIndexDef";
    
    public static final String ALTER_DROP_INDEX = "alterDropIndex";
    
    public static final String ADD_CONSTRAINT = "addConstraint";
    
    public static final String DROP_CONSTRAINT_CLAUSE = "dropConstraintClause";
    
    public static final String TABLE_CONSTRAINT = "tableConstraint";
}

@@ -1319,143 +1319,8 @@
    %0A
-    public static final String PRIMARY_KEY_OPTION = %22primaryKeyOption%22;%0A    %0A    public static final String KEY_PART = %22keyPart%22;%0A    %0A
     

remove unused constants