|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectnet.hasor.jdbc.parameter.SqlParameter
net.hasor.jdbc.parameter.SqlResultSetParameter
public class SqlResultSetParameter
支持结果集的SQL参数。
| 构造方法摘要 | |
|---|---|
SqlResultSetParameter(String name,
ResultSetExtractor<?> rse)
Create a new ResultSetSupportingSqlParameter. |
|
SqlResultSetParameter(String name,
RowCallbackHandler rch)
Create a new ResultSetSupportingSqlParameter. |
|
SqlResultSetParameter(String name,
RowMapper<?> rm)
Create a new ResultSetSupportingSqlParameter. |
|
| 方法摘要 | |
|---|---|
ResultSetExtractor<?> |
getResultSetExtractor()
Return the ResultSetExtractor held by this parameter, if any. |
RowCallbackHandler |
getRowCallbackHandler()
Return the RowCallbackHandler held by this parameter, if any. |
RowMapper<?> |
getRowMapper()
Return the RowMapper held by this parameter, if any. |
boolean |
isResultSetSupported()
Does this parameter support a ResultSet, i.e. does it hold a ResultSetExtractor, RowCallbackHandler or RowMapper? |
| 从类 net.hasor.jdbc.parameter.SqlParameter 继承的方法 |
|---|
getName, getScale, getSqlType, sqlTypesToAnonymousParameterList |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public SqlResultSetParameter(String name,
ResultSetExtractor<?> rse)
name - name of the parameter, as used in input and output mapssqlType - SQL type of the parameter according to java.sql.Typesrse - ResultSetExtractor to use for parsing the ResultSet
public SqlResultSetParameter(String name,
RowCallbackHandler rch)
name - name of the parameter, as used in input and output mapssqlType - SQL type of the parameter according to java.sql.Typesrch - RowCallbackHandler to use for parsing the ResultSet
public SqlResultSetParameter(String name,
RowMapper<?> rm)
name - name of the parameter, as used in input and output mapssqlType - SQL type of the parameter according to java.sql.Typesrm - RowMapper to use for parsing the ResultSet| 方法详细信息 |
|---|
public boolean isResultSetSupported()
public ResultSetExtractor<?> getResultSetExtractor()
public RowCallbackHandler getRowCallbackHandler()
public RowMapper<?> getRowMapper()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||