接口 PreparedStatementHandle
-
- 所有已知实现类:
BitPreparedStatementHandle,BlobPreparedStatementHandle,BooleanPreparedStatementHandle,BytesPreparedStatementHandle,ClobPreparedStatementHandle,DatePreparedStatementHandle,NumberPreparedStatementHandle,StringPreparedStatementHandle,TimePreparedStatementHandle,TimeStampPreparedStatementHandle,TinyintPreparedStatementHandle
public interface PreparedStatementHandle执行批量输出到数据库时各类型的处理器- 作者:
- lb
- Date:
- 2023年12月21日
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidfillPreparedStatementColumnType(PreparedStatement preparedStatement, int columnIndex, Column column, DataBaseType dataBaseType, org.apache.commons.lang3.tuple.Triple<List<String>,List<Integer>,List<String>> resultSetMetaData)设置值booleanisBigType()是否为大类型booleanisHandle(int type)是否被这个handle处理
-
-
-
方法详细资料
-
isHandle
boolean isHandle(int type)
是否被这个handle处理- 参数:
type-- 返回:
-
isBigType
boolean isBigType()
是否为大类型- 返回:
-
fillPreparedStatementColumnType
void fillPreparedStatementColumnType(PreparedStatement preparedStatement, int columnIndex, Column column, DataBaseType dataBaseType, org.apache.commons.lang3.tuple.Triple<List<String>,List<Integer>,List<String>> resultSetMetaData) throws Exception
设置值- 参数:
preparedStatement- 需要设置的statementcolumnIndex- 列indexcolumn- 列数据- 抛出:
Exception
-
-