public class ExecuteProcedure extends Prepared
create, parameters, prepareAlways, session, sqlStatement
Constructor and Description |
---|
ExecuteProcedure(Session session) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
boolean |
isQuery()
Check if this object is a query.
|
boolean |
isTransactional()
Check if this command is transactional.
|
ResultInterface |
query(int limit)
Execute the query.
|
ResultInterface |
queryMeta()
Get an empty result set containing the meta data.
|
void |
setExpression(int index,
Expression expr)
Set the expression at the given index.
|
void |
setProcedure(Procedure procedure) |
int |
update()
Execute the statement.
|
checkCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isReadOnly, needRecompile, prepare, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString
public ExecuteProcedure(Session session)
public void setProcedure(Procedure procedure)
public void setExpression(int index, Expression expr)
index
- the index (0 based)expr
- the expressionpublic boolean isQuery()
Prepared
public int update()
Prepared
public ResultInterface query(int limit)
Prepared
public boolean isTransactional()
Prepared
isTransactional
in class Prepared
public ResultInterface queryMeta()
Prepared
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.