public class TranslatedCommand extends Object
| Constructor and Description |
|---|
TranslatedCommand(ExecutionContext context,
JDBCExecutionFactory executionFactory) |
| Modifier and Type | Method and Description |
|---|---|
List |
getPreparedValues()
Return List of values to set on a prepared statement, if
necessary.
|
String |
getSql()
Get String SQL of translated command.
|
boolean |
isPrepared()
Returns whether the statement is prepared.
|
String |
toString() |
void |
translateCommand(Command command)
The method to cause this object to do it's thing.
|
public TranslatedCommand(ExecutionContext context, JDBCExecutionFactory executionFactory)
public void translateCommand(Command command) throws TranslatorException
command - ICommand to be translatedTranslatorExceptionpublic List getPreparedValues()
public String getSql()
public boolean isPrepared()
Copyright © 2019. All rights reserved.