接口 Outputs
-
- 所有已知子接口:
ProcedureOutputs
- 所有已知实现类:
OutputsImpl,ProcedureOutputsImpl
public interface OutputsRepresents the outputs of executing a JDBC statement accounting for mixing of result sets and update counts hiding the complexity (IMO) of how this is exposed in the JDBC API. The outputs are exposed as a group ofOutputobjects, each representing a single result set or update count. Conceptually, Result presents those Returns as an iterator.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 OutputgetCurrent()Retrieve the current Output object.booleangoToNext()Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call togetCurrent()returnnull?voidrelease()Eagerly release any resources held by this Outputs.
-
-
-
方法详细资料
-
getCurrent
Output getCurrent()
Retrieve the current Output object.- 返回:
- The current Output object. Can be
null
-
goToNext
boolean goToNext()
Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call togetCurrent()returnnull?- 返回:
trueif the next call togetCurrent()will return a non-nullvalue.
-
release
void release()
Eagerly release any resources held by this Outputs.
-
-