Interface FieldFilter
- All Known Implementing Classes:
FieldFilterImpl
public interface FieldFilter
列过滤器
- Version:
- 0.1.3
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescriptionaddExcluded(String... fieldNames) 添加 黑名单addIncluded(String... fieldNames) 添加 白名单clear()清除所有 包含类型的列String[]获取 FieldName获取当前模式boolean忽略 空值ignoreNullValue(boolean ignoreNullValue) 设置忽略空值removeExcluded(String... fieldNames) 移除黑名单removeIncluded(String... fieldNames) 移除白名单
-
Method Details
-
addIncluded
添加 白名单- Parameters:
fieldNames- 包含的列名 (注意是 java 字段名称 ,不是 数据库 字段名称)- Returns:
- this 方便链式调用
-
addExcluded
添加 黑名单- Parameters:
fieldNames- 包含的列名 (注意是 java 字段名称 ,不是 数据库 字段名称)- Returns:
- this 方便链式调用
-
removeIncluded
移除白名单- Parameters:
fieldNames- 包含的列名 (注意是 java 字段名称 ,不是 数据库 字段名称)- Returns:
- this 方便链式调用
-
removeExcluded
移除黑名单- Parameters:
fieldNames- 包含的列名 (注意是 java 字段名称 ,不是 数据库 字段名称)- Returns:
- this 方便链式调用
-
ignoreNullValue
设置忽略空值- Parameters:
ignoreNullValue- a- Returns:
- a
-
getFilterMode
-
getFieldNames
-
getIgnoreNullValue
boolean getIgnoreNullValue()忽略 空值- Returns:
- a
-
clear
-