|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.translator.ExecutionFactory<javax.sql.DataSource,java.sql.Connection>
org.teiid.translator.jdbc.JDBCExecutionFactory
org.teiid.translator.jdbc.intersyscache.InterSystemsCacheExecutionFactory
@Translator(name="intersystems-cache", description="A translator for Intersystems Cache Database") public class InterSystemsCacheExecutionFactory
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.teiid.translator.ExecutionFactory |
---|
ExecutionFactory.NullOrder, ExecutionFactory.SupportedJoinCriteria |
Field Summary | |
---|---|
protected ConvertModifier |
convert
|
Fields inherited from class org.teiid.translator.jdbc.JDBCExecutionFactory |
---|
DEFAULT_MAX_DEPENDENT_PREDICATES, DEFAULT_MAX_IN_CRITERIA, DEFAULT_TIME_ZONE |
Fields inherited from class org.teiid.translator.ExecutionFactory |
---|
DEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE |
Constructor Summary | |
---|---|
InterSystemsCacheExecutionFactory()
|
Method Summary | |
---|---|
ExecutionFactory.NullOrder |
getDefaultNullOrder()
Returns the default null ordering |
java.util.List<FunctionMethod> |
getPushDownFunctions()
|
java.util.List<java.lang.String> |
getSupportedFunctions()
Get list of all supported function names. |
void |
start()
Initialize the connector with supplied configuration |
boolean |
supportsInlineViews()
Support indicates connector can accept inline views (subqueries in the FROM clause). |
java.lang.String |
translateLiteralDate(java.sql.Date dateValue)
Subclasses should override this method to provide a different sql translation of the literal date value. |
java.lang.String |
translateLiteralTime(java.sql.Time timeValue)
Subclasses should override this method to provide a different sql translation of the literal time value. |
java.lang.String |
translateLiteralTimestamp(java.sql.Timestamp timestampValue)
Subclasses should override this method to provide a different sql translation of the literal timestamp value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ConvertModifier convert
Constructor Detail |
---|
public InterSystemsCacheExecutionFactory()
Method Detail |
---|
public void start() throws TranslatorException
ExecutionFactory
start
in class JDBCExecutionFactory
TranslatorException
public java.util.List<java.lang.String> getSupportedFunctions()
ExecutionFactory
getSupportedFunctions
in class JDBCExecutionFactory
public java.util.List<FunctionMethod> getPushDownFunctions()
getPushDownFunctions
in class ExecutionFactory<javax.sql.DataSource,java.sql.Connection>
public java.lang.String translateLiteralDate(java.sql.Date dateValue)
JDBCExecutionFactory
{d '2002-12-31'}
translateLiteralDate
in class JDBCExecutionFactory
dateValue
- Date value, never null
public java.lang.String translateLiteralTime(java.sql.Time timeValue)
JDBCExecutionFactory
{t '23:59:59'}
See JDBCExecutionFactory.hasTimeType()
to represent literal times as timestamps.
translateLiteralTime
in class JDBCExecutionFactory
timeValue
- Time value, never null
public java.lang.String translateLiteralTimestamp(java.sql.Timestamp timestampValue)
JDBCExecutionFactory
{ts '2002-12-31 23:59:59'}
.
See JDBCExecutionFactory.getTimestampNanoPrecision()
to control the literal
precision.
translateLiteralTimestamp
in class JDBCExecutionFactory
timestampValue
- Timestamp value, never null
public ExecutionFactory.NullOrder getDefaultNullOrder()
ExecutionFactory
getDefaultNullOrder
in class JDBCExecutionFactory
ExecutionFactory.NullOrder
public boolean supportsInlineViews()
ExecutionFactory
supportsInlineViews
in class JDBCExecutionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |