com.huoguo.mybatisplus.batch.constant.DefaultConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-plus-batch Show documentation
Show all versions of mybatis-plus-batch Show documentation
This is Mybatis Plus based batch write operation tool
package com.huoguo.mybatisplus.batch.constant;
/**
* 默认通用常量类
* @author Lizhenghuang
*/
public final class DefaultConstants {
/** 默认集合第一个下标 **/
public static final int DEFAULT_INDEX_VALUE = 0;
/** 默认执行批量操作的数量 **/
public static final int DEFAULT_BATCH_SIZE = 1000;
/** 默认值 左括号 **/
public static final String LEFT_PARENTHESIS = "(";
/** 默认值 有括号 **/
public static final String RIGHT_PARENTHESIS = ")";
/** 默认值 逗号 **/
public static final String DEFAULT_COMMA = ", ";
/** 时间字段名 **/
public static final String DATE_COLUMN = "date_column";
/** 时间字段值 **/
public static final String DATE_VALUE = "date_value";
/** 逻辑删除字段名 **/
public static final String LOGIC_COLUMN = "logic_column";
/** 逻辑删除字段值 **/
public static final String LOGIC_VALUE = "logic_value";
}