public.javadoc.org.spincast.plugins.jdbc.statements.UpdateStatement.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
UpdateStatement (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.jdbc.statements
Interface UpdateStatement
-
- All Superinterfaces:
- Statement
- All Known Implementing Classes:
- UpdateStatementDefault
public interface UpdateStatement
extends Statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
setCase(String paramName,
String columnNameToCheck,
Map<?,?> map)
Adds a CASE
statement, using the key and values
of the given map.
int
update()
Execute the update and return the number
of affected rows.
<T> List<T>
update(ResultSetHandler<T> resultSetHandler)
Execute the update and return a result set.
-
Methods inherited from interface org.spincast.plugins.jdbc.statements.Statement
clearSql, clearSql, getSql, setBoolean, setDate, setDouble, setFloat, setInInteger, setInLong, setInstant, setInString, setInStringFromEnumNames, setInStringFromEnumNames, setInteger, setLong, setLongList, setString, sql
-
-
Method Detail
-
update
int update()
Execute the update and return the number
of affected rows.
-
update
<T> List<T> update(ResultSetHandler<T> resultSetHandler)
Execute the update and return a result set.
This can be used with a RETURNING
clause.
Copyright © 2019. All rights reserved.