|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.connector.jdbc.translator.Translator
org.teiid.connector.jdbc.oracle.OracleSQLTranslator
com.metamatrix.connector.jdbc.oracle.spatial.OracleSpatialSQLTranslator
public class OracleSpatialSQLTranslator
Field Summary |
---|
Fields inherited from class org.teiid.connector.jdbc.oracle.OracleSQLTranslator |
---|
DUAL, HINT_PREFIX, ROWNUM, SEQUENCE |
Fields inherited from class org.teiid.connector.jdbc.translator.Translator |
---|
DEFAULT_TIME_ZONE |
Constructor Summary | |
---|---|
OracleSpatialSQLTranslator()
|
Method Summary | |
---|---|
java.lang.Class<? extends ConnectorCapabilities> |
getDefaultCapabilities()
Get the default capabilities class. |
java.lang.String |
getSourceComment(ExecutionContext context,
ICommand command)
This method figures out what the hint is by looking at the query and returns it. |
void |
initialize(ConnectorEnvironment env)
Initialize the SQLTranslator. |
ICommand |
modifyCommand(ICommand command,
ExecutionContext context)
This method is overridden to modify the incoming command to add the hint to the ISelect in the command. |
Methods inherited from class org.teiid.connector.jdbc.oracle.OracleSQLTranslator |
---|
afterInitialConnectionCreation, bindValue, getDefaultConnectionTestQuery, getSetOperationString, hasTimeType, replaceElementName, translateCommand, useAsInGroupAlias |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleSpatialSQLTranslator()
Method Detail |
---|
public void initialize(ConnectorEnvironment env) throws ConnectorException
Translator
initialize
in class OracleSQLTranslator
ConnectorException
public ICommand modifyCommand(ICommand command, ExecutionContext context) throws ConnectorException
modifyCommand
in class OracleSQLTranslator
ConnectorException
public java.lang.String getSourceComment(ExecutionContext context, ICommand command)
getSourceComment
in class OracleSQLTranslator
query
-
public java.lang.Class<? extends ConnectorCapabilities> getDefaultCapabilities()
Translator
Translator.getConnectorCapabilities()
to
return a capabilities instance.
getDefaultCapabilities
in class OracleSQLTranslator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |