public class ObjectExecution extends ObjectBaseExecution implements ResultSetExecution
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectExecution.OBJECT_TYPE |
| Modifier and Type | Field and Description |
|---|---|
protected Command |
query |
connection, env, executionContext| Constructor and Description |
|---|
ObjectExecution(Command command,
ObjectExecutionFactory factory,
ObjectConnection connection,
ExecutionContext executionContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Terminates the execution normally.
|
protected ObjectVisitor |
createVisitor() |
void |
execute()
Execute the associated command.
|
Command |
getCommand() |
ObjectExecutionFactory |
getFactory() |
List<?> |
next()
Retrieves the next row of the resultset.
|
cancel, getClassRegistryprotected Command query
public ObjectExecution(Command command, ObjectExecutionFactory factory, ObjectConnection connection, ExecutionContext executionContext) throws TranslatorException
TranslatorExceptionpublic void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void close()
Executionclose in interface Executionclose in class ObjectBaseExecutionprotected ObjectVisitor createVisitor()
public ObjectExecutionFactory getFactory()
public Command getCommand()
Copyright © 2017 JBoss by Red Hat. All rights reserved.