public class TranslatedCommand extends Object
| Constructor and Description |
|---|
TranslatedCommand(org.teiid.translator.ExecutionContext context,
JDBCExecutionFactory executionFactory)
Constructor, takes a SQLConversionVisitor subclass
|
| 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(org.teiid.language.Command command)
The method to cause this object to do it's thing.
|
public TranslatedCommand(org.teiid.translator.ExecutionContext context,
JDBCExecutionFactory executionFactory)
visitor - a SQLConversionVisitor subclasspublic void translateCommand(org.teiid.language.Command command)
throws org.teiid.translator.TranslatorException
command - ICommand to be translatedorg.teiid.translator.TranslatorExceptionpublic List getPreparedValues()
public String getSql()
public boolean isPrepared()
Copyright © 2018 JBoss by Red Hat. All rights reserved.