Module org.seasar.doma.core
Class CallableSqlParameterFetcher.FetchingVisitor
java.lang.Object
org.seasar.doma.internal.jdbc.command.CallableSqlParameterFetcher.FetchingVisitor
- All Implemented Interfaces:
SqlParameterVisitor<Void,Void, SQLException>
- Enclosing class:
- CallableSqlParameterFetcher
protected static class CallableSqlParameterFetcher.FetchingVisitor
extends Object
implements SqlParameterVisitor<Void,Void,SQLException>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CallableStatementprotected final Dialectprotected intprotected final JdbcMappingVisitorprotected final ModuleQuery -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconsumeResultSet(String parameterName, CallableSqlParameterFetcher.ResultSetConsumer consumer) protected <ELEMENT> voidfetchListParameter(ListParameter<ELEMENT> parameter) protected <BASIC> voidfetchOutParameter(JdbcMappable<BASIC> parameter) <BASIC,INOUT extends InParameter<BASIC> & OutParameter<BASIC>>
VoidvisitInOutParameter(INOUT parameter, Void p) <BASIC> VoidvisitInParameter(InParameter<BASIC> parameter, Void p) <ELEMENT> VoidvisitListParameter(ListParameter<ELEMENT> parameter, Void p) <BASIC> VoidvisitOutParameter(OutParameter<BASIC> parameter, Void p) <ELEMENT> VoidvisitResultListParameter(ResultListParameter<ELEMENT> parameter, Void p) <BASIC,RESULT>
VoidvisitSingleResultParameter(SingleResultParameter<BASIC, RESULT> parameter, Void p)
-
Field Details
-
query
-
dialect
-
jdbcMappingVisitor
-
callableStatement
-
index
protected int index
-
-
Constructor Details
-
FetchingVisitor
-
-
Method Details
-
visitInParameter
- Specified by:
visitInParameterin interfaceSqlParameterVisitor<Void,Void, SQLException>
-
visitOutParameter
- Specified by:
visitOutParameterin interfaceSqlParameterVisitor<Void,Void, SQLException> - Throws:
SQLException
-
visitInOutParameter
public <BASIC,INOUT extends InParameter<BASIC> & OutParameter<BASIC>> Void visitInOutParameter(INOUT parameter, Void p) throws SQLException - Specified by:
visitInOutParameterin interfaceSqlParameterVisitor<Void,Void, SQLException> - Throws:
SQLException
-
visitListParameter
public <ELEMENT> Void visitListParameter(ListParameter<ELEMENT> parameter, Void p) throws SQLException - Specified by:
visitListParameterin interfaceSqlParameterVisitor<Void,Void, SQLException> - Throws:
SQLException
-
visitSingleResultParameter
public <BASIC,RESULT> Void visitSingleResultParameter(SingleResultParameter<BASIC, RESULT> parameter, Void p) throws SQLException- Specified by:
visitSingleResultParameterin interfaceSqlParameterVisitor<Void,Void, SQLException> - Throws:
SQLException
-
visitResultListParameter
public <ELEMENT> Void visitResultListParameter(ResultListParameter<ELEMENT> parameter, Void p) throws SQLException - Specified by:
visitResultListParameterin interfaceSqlParameterVisitor<Void,Void, SQLException> - Throws:
SQLException
-
fetchOutParameter
- Throws:
SQLException
-
fetchListParameter
- Throws:
SQLException
-
consumeResultSet
protected void consumeResultSet(String parameterName, CallableSqlParameterFetcher.ResultSetConsumer consumer) throws SQLException - Throws:
SQLException
-