public class DefaultCommand extends Object implements net.sf.jkniv.whinstone.commands.Command
Modifier and Type | Field and Description |
---|---|
protected net.sf.jkniv.exception.HandleableException |
handlerException |
protected net.sf.jkniv.whinstone.Queryable |
queryable |
protected CassandraPreparedStatementAdapter<Number,com.datastax.driver.core.Row> |
stmt |
Constructor and Description |
---|
DefaultCommand(net.sf.jkniv.whinstone.Queryable queryable) |
Modifier and Type | Method and Description |
---|---|
<T> T |
execute() |
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 final net.sf.jkniv.whinstone.Queryable queryable
protected CassandraPreparedStatementAdapter<Number,com.datastax.driver.core.Row> stmt
protected net.sf.jkniv.exception.HandleableException handlerException
public DefaultCommand(net.sf.jkniv.whinstone.Queryable queryable)
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
public <T> T execute()
execute
in interface net.sf.jkniv.whinstone.commands.Command
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.