public abstract class AbstractJdbcCommand extends Object implements net.sf.jkniv.whinstone.commands.Command
Modifier and Type | Field and Description |
---|---|
protected net.sf.jkniv.whinstone.commands.CommandHandler |
commandHandler |
protected Connection |
conn |
protected net.sf.jkniv.exception.HandleableException |
handlerException |
protected net.sf.jkniv.whinstone.Queryable |
queryable |
protected net.sf.jkniv.whinstone.statement.StatementAdapter<?,ResultSet> |
stmt |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJdbcCommand(net.sf.jkniv.whinstone.Queryable queryable,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(PreparedStatement stmt) |
protected int |
executeBulk() |
protected int |
simpleExecute() |
net.sf.jkniv.whinstone.commands.Command |
with(net.sf.jkniv.whinstone.commands.CommandHandler commandHandler) |
net.sf.jkniv.whinstone.commands.Command |
with(net.sf.jkniv.exception.HandleableException handlerException) |
<T> net.sf.jkniv.whinstone.commands.Command |
with(T stmt) |
protected net.sf.jkniv.exception.HandleableException handlerException
protected net.sf.jkniv.whinstone.commands.CommandHandler commandHandler
protected final Connection conn
protected final net.sf.jkniv.whinstone.Queryable queryable
protected AbstractJdbcCommand(net.sf.jkniv.whinstone.Queryable queryable, Connection conn)
public <T> net.sf.jkniv.whinstone.commands.Command with(T stmt)
with
in interface net.sf.jkniv.whinstone.commands.Command
public net.sf.jkniv.whinstone.commands.Command with(net.sf.jkniv.exception.HandleableException handlerException)
with
in interface net.sf.jkniv.whinstone.commands.Command
public net.sf.jkniv.whinstone.commands.Command with(net.sf.jkniv.whinstone.commands.CommandHandler commandHandler)
with
in interface net.sf.jkniv.whinstone.commands.Command
protected int executeBulk()
protected int simpleExecute()
protected void close(PreparedStatement stmt)
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.