/*
 * 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.encrypt;

/**
 * Sharding encryptor engine.
 *
 * @author panjuan
 */
public final class ShardingEncryptorEngine {
}

@@ -849,111 +849,762 @@
 t;%0A%0A
-/**%0A * Sharding encryptor engine.%0A *%0A * @author panjuan%0A */%0Apublic final class ShardingEncryptorEngine %7B
+import org.apache.shardingsphere.core.routing.strategy.ShardingEncryptorStrategy;%0Aimport org.apache.shardingsphere.core.rule.TableRule;%0A%0Aimport java.util.LinkedHashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0A/**%0A * Sharding encryptor engine.%0A *%0A * @author panjuan%0A */%0Apublic final class ShardingEncryptorEngine %7B%0A    %0A    private final Map%3CString, ShardingEncryptorStrategy%3E shardingEncryptorStrategies = new LinkedHashMap%3C%3E();%0A    %0A    public ShardingEncryptorEngine(final List%3CTableRule%3E tableRules) %7B%0A        for (TableRule each : tableRules) %7B%0A            if (null != each.getShardingEncryptorStrategy()) %7B%0A                shardingEncryptorStrategies.put(each.getLogicTable(), each.getShardingEncryptorStrategy());%0A            %7D%0A        %7D%0A    %7D
 %0A%7D%0A

add shardingEncryptorStrategies