// Path: src/main/java/org/cleverframe/fastdfs/exception/FastDfsColumnMapException.java
// public class FastDfsColumnMapException extends RuntimeException {
//     public FastDfsColumnMapException() {
//     }
// 
// //    public FastDfsColumnMapException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
// //        super(message, cause, enableSuppression, writableStackTrace);
// //    }
// 
//     public FastDfsColumnMapException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
//     public FastDfsColumnMapException(String message) {
//         super(message);
//     }
// 
//     public FastDfsColumnMapException(Throwable cause) {
//         super(cause);
//     }
// }


import org.cleverframe.fastdfs.exception.FastDfsColumnMapException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
    }

    /**
     * 是否有动态数据列
     */
    private boolean hasDynamicField() {
        for (FieldMateData field : fieldList) {
            if (field.isDynamicField()) {
                return true;
            }
        }
        return false;
    }

    /**
     * 获取动态数据列长度
     */
    private int getDynamicFieldSize(Object obj, Charset charset) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
        int size = 0;
        for (FieldMateData field : dynamicFieldList) {
            size = size + field.getDynamicFieldByteSize(obj, charset);
        }
        return size;
    }

    /**
     * 获取固定参数对象总长度
     */
    public int getFieldsFixTotalSize() {
        if (hasDynamicField()) {
// Path: src/main/java/org/cleverframe/fastdfs/exception/FastDfsColumnMapException.java
// public class FastDfsColumnMapException extends RuntimeException {
//     public FastDfsColumnMapException() {
//     }
// 
// //    public FastDfsColumnMapException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
// //        super(message, cause, enableSuppression, writableStackTrace);
// //    }
// 
//     public FastDfsColumnMapException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
//     public FastDfsColumnMapException(String message) {
//         super(message);
//     }
// 
//     public FastDfsColumnMapException(Throwable cause) {
//         super(cause);
//     }
// }


// Path: src/main/java/org/cleverframe/fastdfs/mapper/ObjectMateData.java
import org.cleverframe.fastdfs.exception.FastDfsColumnMapException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

    }

    /**
     * 是否有动态数据列
     */
    private boolean hasDynamicField() {
        for (FieldMateData field : fieldList) {
            if (field.isDynamicField()) {
                return true;
            }
        }
        return false;
    }

    /**
     * 获取动态数据列长度
     */
    private int getDynamicFieldSize(Object obj, Charset charset) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
        int size = 0;
        for (FieldMateData field : dynamicFieldList) {
            size = size + field.getDynamicFieldByteSize(obj, charset);
        }
        return size;
    }

    /**
     * 获取固定参数对象总长度
     */
    public int getFieldsFixTotalSize() {
        if (hasDynamicField()) {
            throw new FastDfsColumnMapException(className + "类中有Dynamic字段, 不支持操作getFieldsTotalSize");