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

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * Encrypt Column placeholder for rewrite.
 *
 * @author panjuan
 */
@RequiredArgsConstructor
@Getter
public final class EncryptColumnPlaceholder implements ShardingPlaceholder {
    
    private final String logicSchemaName;
    
    private final String logicTableName;
    
    @Override
    public String toString() {
        return logicSchemaName;
    }
}

@@ -917,16 +917,206 @@
 tructor;
+%0Aimport org.apache.shardingsphere.core.constant.ShardingOperator;%0Aimport org.apache.shardingsphere.core.parsing.parser.context.condition.Column;%0A%0Aimport java.util.List;%0Aimport java.util.Map;
 %0A%0A/**%0A *
@@ -1319,158 +1319,364 @@
 nal 
-String logicSchemaName;%0A    %0A    private final String logicTableName;%0A    %0A    @Override%0A    public String toString() %7B%0A        return logicSchema
+Column column;%0A    %0A    private final Map%3CInteger, Comparable%3C?%3E%3E indexValueMap;%0A    %0A    private final List%3CInteger%3E placeholderIndex;%0A    %0A    private final ShardingOperator operator;%0A    %0A    @Override%0A    public String toString() %7B%0A        return %22%22;%0A    %7D%0A    %0A    @Override%0A    public String getLogicTableName() %7B%0A        return column.getTable
 Name
+()
 ;%0A  

add getLogicTableName()