/*
 * 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.shardingjdbc.spring.namespace.constants;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * Encryptor parser tag constants.
 * 
 * @author panjuan
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class EncryptorBeanDefinitionParserTag {
    
    public static final String STANDARD_STRATEGY_ROOT_TAG = "standard-strategy";
    
    public static final String COMPLEX_STRATEGY_ROOT_TAG = "complex-strategy";
    
    public static final String INLINE_STRATEGY_ROOT_TAG = "inline-strategy";
    
    public static final String HINT_STRATEGY_ROOT_TAG = "hint-strategy";
    
    public static final String NONE_STRATEGY_ROOT_TAG = "none-strategy";
    
    public static final String SHARDING_COLUMN_ATTRIBUTE = "sharding-column";
    
    public static final String SHARDING_COLUMNS_ATTRIBUTE = "sharding-columns";
    
    public static final String ALGORITHM_REF_ATTRIBUTE = "algorithm-ref";
    
    public static final String PRECISE_ALGORITHM_REF_ATTRIBUTE = "precise-algorithm-ref";
    
    public static final String RANGE_ALGORITHM_REF_ATTRIBUTE = "range-algorithm-ref";
    
    public static final String ALGORITHM_EXPRESSION_ATTRIBUTE = "algorithm-expression";
}

@@ -1142,431 +1142,96 @@
 ing 
-STANDARD_STRATEGY_ROOT_TAG = %22standard-strategy%22;%0A    %0A    public static final String COMPLEX_STRATEGY_ROOT_TAG = %22complex-strategy%22;%0A    %0A    public static final String INLINE_STRATEGY_ROOT_TAG = %22inline-strategy%22;%0A    %0A    public static final String HINT_STRATEGY_ROOT_TAG = %22hint-strategy%22;%0A    %0A    public static final String NONE_STRATEGY_ROOT_TAG = %22none-strategy%22;%0A    %0A    public static final String SHARDING
+ENCRYPTOR_TYPE_ATTRIBUTE = %22type%22;%0A    %0A    public static final String ENCRYPTOR
 _COLUMN
+S
 _ATT
@@ -1240,31 +1240,23 @@
 BUTE = %22
-sharding-
 column
+s
 %22;%0A    %0A
@@ -1290,16 +1290,32 @@
 ing 
-SHARDING
+ENCRYPTOR_ASSISTED_QUERY
 _COL
@@ -1332,24 +1332,30 @@
 BUTE = %22
-sharding
+assisted-query
 -columns
@@ -1397,327 +1397,53 @@
 ing 
-ALGORITHM_REF_ATTRIBUTE = %22algorithm-ref%22;%0A    %0A    public static final String PRECISE_ALGORITHM_REF_ATTRIBUTE = %22precise-algorithm-ref%22;%0A    %0A    public static final String RANGE_ALGORITHM_REF_ATTRIBUTE = %22range-algorithm-ref%22;%0A    %0A    public static final String ALGORITHM_EXPRESSION_ATTRIBUTE = %22algorithm-expression
+ENCRYPTOR_PROPERTY_REF_ATTRIBUTE = %22props-ref
 %22;%0A%7D

modify EncryptorBeanDefinitionParserTag