public class AddressDesensitizationHandler extends org.apache.ibatis.type.BaseTypeHandler<String> implements SensitiveHandler<String>
| 构造器和说明 |
|---|
AddressDesensitizationHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getNullableResult(CallableStatement cs,
int columnIndex) |
String |
getNullableResult(ResultSet rs,
int columnIndex) |
String |
getNullableResult(ResultSet rs,
String columnName) |
String |
handler(String data)
脱敏处理
|
void |
setNonNullParameter(PreparedStatement ps,
int i,
String String,
org.apache.ibatis.type.JdbcType jdbcType) |
public String handler(String data)
handler 在接口中 SensitiveHandler<String>data - 脱敏数据public void setNonNullParameter(PreparedStatement ps, int i, String String, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setNonNullParameter 在类中 org.apache.ibatis.type.BaseTypeHandler<String>SQLExceptionpublic String getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<String>SQLExceptionpublic String getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<String>SQLExceptionpublic String getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<String>SQLExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.