Class BatchOf
java.lang.Object
com.github.fabriciofx.cactoos.jdbc.query.BatchOf
- All Implemented Interfaces:
Query
,org.cactoos.Text
StatementBatch query.
- Since:
- 0.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
named()
Return a named query string.params()
Return the Query params.prepared
(Connection connection) Create a PreparedStatement.
-
Constructor Details
-
BatchOf
Ctor.- Parameters:
sql
- The SQL queryprms
- A list of SQL query parameters
-
BatchOf
Ctor.- Parameters:
sql
- The SQL queryprms
- A list of SQL query parameters
-
BatchOf
Ctor.- Parameters:
sql
- The SQL queryprms
- A list of SQL query parameters
-
-
Method Details
-
prepared
Description copied from interface:Query
Create a PreparedStatement. -
params
Description copied from interface:Query
Return the Query params. -
named
Description copied from interface:Query
Return a named query string. -
asString
- Specified by:
asString
in interfaceorg.cactoos.Text
- Throws:
Exception
-