org.teiid.connector.jdbc.derby
Class DerbySQLTranslator

java.lang.Object
  extended by org.teiid.connector.jdbc.translator.Translator
      extended by org.teiid.connector.jdbc.derby.DerbySQLTranslator

public class DerbySQLTranslator
extends Translator

Since:
4.3

Field Summary
 
Fields inherited from class org.teiid.connector.jdbc.translator.Translator
DEFAULT_TIME_ZONE
 
Constructor Summary
DerbySQLTranslator()
           
 
Method Summary
 boolean addSourceComment()
          Returns true to indicate that SQL should include a comment indicating the session and request ids.
 java.lang.Class<? extends ConnectorCapabilities> getDefaultCapabilities()
          Get the default capabilities class.
 java.lang.String getDefaultConnectionTestQuery()
           
 void initialize(ConnectorEnvironment env)
          Initialize the SQLTranslator.
 
Methods inherited from class org.teiid.connector.jdbc.translator.Translator
afterConnectionCreation, afterInitialConnectionCreation, bindValue, executeStoredProcedure, formatDateValue, getConnectionTestQuery, getConnectorCapabilities, getDatabaseCalendar, getEnvironment, getFunctionModifiers, getIsValidTimeout, getLanguageFactory, getSetOperationString, getSourceComment, getSQLConversionVisitor, getTimestampNanoPrecision, getTypeFacility, hasTimeType, modifyCommand, registerFunctionModifier, registerSpecificTypeOfOutParameter, replaceElementName, retrieveValue, retrieveValue, translateCommand, translateLimit, translateLiteralBoolean, translateLiteralDate, translateLiteralTime, translateLiteralTimestamp, useAsInGroupAlias, useParensForJoins, useParensForSetQueries, usePreparedStatements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbySQLTranslator

public DerbySQLTranslator()
Method Detail

initialize

public void initialize(ConnectorEnvironment env)
                throws ConnectorException
Description copied from class: Translator
Initialize the SQLTranslator.

Overrides:
initialize in class Translator
Throws:
ConnectorException

addSourceComment

public boolean addSourceComment()
Description copied from class: Translator
Returns true to indicate that SQL should include a comment indicating the session and request ids.

Overrides:
addSourceComment in class Translator

getDefaultConnectionTestQuery

public java.lang.String getDefaultConnectionTestQuery()
Overrides:
getDefaultConnectionTestQuery in class Translator

getDefaultCapabilities

public java.lang.Class<? extends ConnectorCapabilities> getDefaultCapabilities()
Description copied from class: Translator
Get the default capabilities class. Will be used by Translator.getConnectorCapabilities() to return a capabilities instance.

Overrides:
getDefaultCapabilities in class Translator
Returns:


Copyright © 2009. All Rights Reserved.