org.teiid.translator
Class BaseDelegatingExecutionFactory<F,C>

java.lang.Object
  extended by org.teiid.translator.ExecutionFactory<F,C>
      extended by org.teiid.translator.BaseDelegatingExecutionFactory<F,C>
All Implemented Interfaces:
DelegatingExecutionFactory<F,C>

public class BaseDelegatingExecutionFactory<F,C>
extends ExecutionFactory<F,C>
implements DelegatingExecutionFactory<F,C>

Delegate translator. User can define a ExecutionFactory of their own and have this translator delegate all the calls to that class. Please note that your 'vdb.xml' file will contain an xml fragment like the following to configure a delegating translator.

 <translator type="delegate" name="my-translator" description="custom translator">
        <property value="delegateName" name="name of the delegate instance"/>
    </translator>
   
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.teiid.translator.ExecutionFactory
ExecutionFactory.NullOrder, ExecutionFactory.SupportedJoinCriteria
 
Field Summary
 
Fields inherited from class org.teiid.translator.ExecutionFactory
DEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE
 
Constructor Summary
BaseDelegatingExecutionFactory()
           
 
Method Summary
 boolean areLobsUsableAfterClose()
          Indicates if LOBs are usable after the execution is closed.
 void closeConnection(C connection, F factory)
          Closes a connection object from the given connection factory.
 Execution createExecution(Command command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)
          Create an execution object for the specified command
 ProcedureExecution createProcedureExecution(Call command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)
           
 ResultSetExecution createResultSetExecution(QueryExpression command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)
           
 UpdateExecution createUpdateExecution(Command command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)
           
 boolean equals(java.lang.Object obj)
           
 C getConnection(F factory, ExecutionContext executionContext)
          Return a connection object from the given connection factory.
 ExecutionFactory.NullOrder getDefaultNullOrder()
          Returns the default null ordering
 java.lang.String getDelegateName()
           
 LanguageFactory getLanguageFactory()
          Obtain a reference to the default LanguageFactory that can be used to construct new language interface objects.
 int getMaxFromGroups()
          The number of groups supported in the from clause.
 void getMetadata(MetadataFactory metadataFactory, C conn)
          Implement to provide metadata to the metadata for use by the engine.
 java.util.List<FunctionMethod> getPushDownFunctions()
          Get a list of FunctionMethods that will be contributed to the SYS schema.
 java.util.List<java.lang.String> getSupportedFunctions()
          Get list of all supported function names.
 TypeFacility getTypeFacility()
          Obtain a reference to the type facility, which can be used to perform many type conversions supplied by the Connector API.
 int hashCode()
           
 boolean isImmutable()
          Defines if the Connector is read-only connector
 boolean isSourceRequired()
          Flag that indicates if a underlying source connection required for this execution factory to work
 void setDelegate(ExecutionFactory<F,C> delegate)
           
 void setDelegateName(java.lang.String delegateName)
           
 void start()
          Initialize the connector with supplied configuration
 boolean supportsAggregatesAvg()
          Support indicates connector can accept the AVG aggregate function
 boolean supportsAggregatesCount()
          Support indicates connector can accept the COUNT aggregate function
 boolean supportsAggregatesCountStar()
          Support indicates connector can accept the COUNT(*) aggregate function
 boolean supportsAggregatesDistinct()
          Support indicates connector can accept DISTINCT within aggregate functions
 boolean supportsAggregatesEnhancedNumeric()
          Support indicates connector can accept STDDEV_POP, STDDEV_VAR, VAR_POP, VAR_SAMP
 boolean supportsAggregatesMax()
          Support indicates connector can accept the MAX aggregate function
 boolean supportsAggregatesMin()
          Support indicates connector can accept the MIN aggregate function
 boolean supportsAggregatesSum()
          Support indicates connector can accept the SUM aggregate function
 boolean supportsAliasedTable()
          Support indicates connector can accept groups with aliases
 boolean supportsBatchedUpdates()
          Whether the source supports BatchedUpdates
 boolean supportsBetweenCriteria()
          Support indicates connector accepts criteria of form (element BETWEEN constant AND constant)
NOT CURRENTLY USED - between is rewritten as compound compare criteria
 boolean supportsBulkUpdate()
          Whether the source supports updates with multiple value sets
 boolean supportsCaseExpressions()
          Support indicates connector can accept queries with non-searched CASE WHEN ...
 boolean supportsCommonTableExpressions()
           
 boolean supportsCompareCriteriaEquals()
          Support indicates connector accepts criteria of form (element = constant)
 boolean supportsCompareCriteriaOrdered()
          Support indicates connector accepts criteria of form (element <=|>= constant)
The query engine will may pushdown queries containing < or > if NOT is also supported.
 boolean supportsCorrelatedSubqueries()
          Support indicates connector can accept correlated subqueries wherever subqueries are accepted
 boolean supportsExcept()
          Support indicates that the connector supports the EXCEPT of two queries.
 boolean supportsExistsCriteria()
          Support indicates connector accepts the EXISTS criteria
 boolean supportsFunctionsInGroupBy()
          Support indicates that the connector supports functions in GROUP BY, such as: SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)
 boolean supportsGroupBy()
          Whether the source supports an explicit GROUP BY clause
 boolean supportsHaving()
          Whether the source supports the HAVING clause
 boolean supportsInCriteria()
          Support indicates connector accepts criteria of form (element IN set)
 boolean supportsInCriteriaSubquery()
          Support indicates connector accepts IN criteria with a subquery on the right side
 boolean supportsInlineViews()
          Support indicates connector can accept inline views (subqueries in the FROM clause).
 boolean supportsInsertWithIterator()
          Support indicates that the connector can accept INSERTs with values specified by an Iterator
 boolean supportsInsertWithQueryExpression()
          Support indicates that the connector can accept INSERTs with values specified by a SetQuery or Select
 boolean supportsIntersect()
          Support indicates that the connector supports the INTERSECT of two queries.
 boolean supportsIsNullCriteria()
          Support indicates connector accepts criteria of form (element IS NULL)
 boolean supportsLikeCriteria()
          Support indicates connector accepts criteria of form (element LIKE constant)
 boolean supportsLikeCriteriaEscapeCharacter()
          Support indicates connector accepts criteria of form (element LIKE constant ESCAPE char)
 boolean supportsNotCriteria()
          Support indicates connector accepts logical criteria NOT
 boolean supportsOrCriteria()
          Support indicates connector accepts logical criteria connected by OR
 boolean supportsOrderByNullOrdering()
          Returns whether the database supports explicit join ordering.
 boolean supportsOrderByUnrelated()
          Support indicates connector accepts ORDER BY clause with columns not from the select
 boolean supportsQuantifiedCompareCriteriaAll()
          Support indicates connector accepts the quantified comparison criteria that use ALL
 boolean supportsQuantifiedCompareCriteriaSome()
          Support indicates connector accepts the quantified comparison criteria that use SOME
 boolean supportsRowLimit()
          Gets whether the connector can limit the number of rows returned by a query.
 boolean supportsRowOffset()
          Gets whether the connector supports a SQL clause (similar to the LIMIT with an offset) that can return result sets that start in the middle of the resulting rows returned by a query
 boolean supportsScalarSubqueries()
          Support indicates connector can accept scalar subqueries in the SELECT, WHERE, and HAVING clauses
 boolean supportsSearchedCaseExpressions()
          Support indicates connector can accept queries with searched CASE WHEN ...
 boolean supportsSelectExpression()
          Support indicates connector can accept expressions other than element symbols in the SELECT clause.
 boolean supportsSelfJoins()
          Support indicates connector can accept self-joins where a group is joined to itself with aliases.
 boolean supportsSetQueryOrderBy()
          Support indicates that the connector supports an ORDER BY on a SetQuery.
 boolean supportsUnions()
          Support indicates that the connector supports the UNION of two queries.
 java.lang.String toString()
           
 boolean useAnsiJoin()
          Whether the source prefers to use ANSI style joins.
 
Methods inherited from class org.teiid.translator.ExecutionFactory
addPushDownFunction, getConnection, getInstance, getMaxDependentInPredicates, getMaxInCriteriaSize, getSupportedJoinCriteria, requiresCriteria, setImmutable, setMaxDependentInPredicates, setMaxInCriteriaSize, setRequiresCriteria, setSourceRequired, setSupportedJoinCriteria, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, supportsAdvancedOlapOperations, supportsArrayAgg, supportsElementaryOlapOperations, supportsFullOuterJoins, supportsInnerJoins, supportsLikeRegex, supportsOrderBy, supportsOuterJoins, supportsSelectDistinct, supportsSimilarTo, supportsWindowOrderByWithAggregates
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseDelegatingExecutionFactory

public BaseDelegatingExecutionFactory()
Method Detail

setDelegate

public void setDelegate(ExecutionFactory<F,C> delegate)
Specified by:
setDelegate in interface DelegatingExecutionFactory<F,C>

getDelegateName

@TranslatorProperty(display="Delegate name",
                    required=true)
public java.lang.String getDelegateName()
Specified by:
getDelegateName in interface DelegatingExecutionFactory<F,C>

setDelegateName

public void setDelegateName(java.lang.String delegateName)

start

public void start()
           throws TranslatorException
Description copied from class: ExecutionFactory
Initialize the connector with supplied configuration

Overrides:
start in class ExecutionFactory<F,C>
Throws:
TranslatorException

areLobsUsableAfterClose

public boolean areLobsUsableAfterClose()
Description copied from class: ExecutionFactory
Indicates if LOBs are usable after the execution is closed.

Overrides:
areLobsUsableAfterClose in class ExecutionFactory<F,C>
Returns:
true if LOBs can be used after close

closeConnection

public void closeConnection(C connection,
                            F factory)
Description copied from class: ExecutionFactory
Closes a connection object from the given connection factory. The default implementation assumes a JCA Connection. Subclasses should override, if they use another type of connection.

Overrides:
closeConnection in class ExecutionFactory<F,C>

createExecution

public Execution createExecution(Command command,
                                 ExecutionContext executionContext,
                                 RuntimeMetadata metadata,
                                 C connection)
                          throws TranslatorException
Description copied from class: ExecutionFactory
Create an execution object for the specified command

Overrides:
createExecution in class ExecutionFactory<F,C>
Parameters:
command - the command
executionContext - Provides information about the context that this command is executing within, such as the identifiers for the command being executed
metadata - Access to runtime metadata if needed to translate the command
connection - connection factory object to the data source
Returns:
An execution object that can use to execute the command
Throws:
TranslatorException

createProcedureExecution

public ProcedureExecution createProcedureExecution(Call command,
                                                   ExecutionContext executionContext,
                                                   RuntimeMetadata metadata,
                                                   C connection)
                                            throws TranslatorException
Overrides:
createProcedureExecution in class ExecutionFactory<F,C>
Throws:
TranslatorException

createResultSetExecution

public ResultSetExecution createResultSetExecution(QueryExpression command,
                                                   ExecutionContext executionContext,
                                                   RuntimeMetadata metadata,
                                                   C connection)
                                            throws TranslatorException
Overrides:
createResultSetExecution in class ExecutionFactory<F,C>
Throws:
TranslatorException

createUpdateExecution

public UpdateExecution createUpdateExecution(Command command,
                                             ExecutionContext executionContext,
                                             RuntimeMetadata metadata,
                                             C connection)
                                      throws TranslatorException
Overrides:
createUpdateExecution in class ExecutionFactory<F,C>
Throws:
TranslatorException

getConnection

public C getConnection(F factory,
                       ExecutionContext executionContext)
                throws TranslatorException
Description copied from class: ExecutionFactory
Return a connection object from the given connection factory. The default implementation assumes a JCA ConnectionFactory. Subclasses should override, if they use another type of connection factory or wish to use the ExecutionContext. By default calls ExecutionFactory.getConnection(Object)

Overrides:
getConnection in class ExecutionFactory<F,C>
executionContext - null if this is a system request for a connection
Returns:
a connection
Throws:
TranslatorException

getDefaultNullOrder

public ExecutionFactory.NullOrder getDefaultNullOrder()
Description copied from class: ExecutionFactory
Returns the default null ordering

Overrides:
getDefaultNullOrder in class ExecutionFactory<F,C>
Returns:
the ExecutionFactory.NullOrder

getLanguageFactory

public LanguageFactory getLanguageFactory()
Description copied from class: ExecutionFactory
Obtain a reference to the default LanguageFactory that can be used to construct new language interface objects. This is typically needed when modifying the language objects passed to the connector or for testing when objects need to be created.

Overrides:
getLanguageFactory in class ExecutionFactory<F,C>

getMaxFromGroups

public int getMaxFromGroups()
Description copied from class: ExecutionFactory
The number of groups supported in the from clause. Added for a Sybase limitation.

Overrides:
getMaxFromGroups in class ExecutionFactory<F,C>
Returns:
the number of groups supported in the from clause, or -1 if there is no limit

getMetadata

public void getMetadata(MetadataFactory metadataFactory,
                        C conn)
                 throws TranslatorException
Description copied from class: ExecutionFactory
Implement to provide metadata to the metadata for use by the engine. This is the primary method of creating metadata for dynamic VDBs.

Overrides:
getMetadata in class ExecutionFactory<F,C>
Throws:
TranslatorException

getPushDownFunctions

public java.util.List<FunctionMethod> getPushDownFunctions()
Description copied from class: ExecutionFactory
Get a list of FunctionMethods that will be contributed to the SYS schema. To avoid conflicts with system functions, the function name should contain a qualifier - typically <translator name>.<function name>

Overrides:
getPushDownFunctions in class ExecutionFactory<F,C>
Returns:
See Also:
ExecutionFactory#addPushDownFunction(String, String, FunctionParameter, FunctionParameter...)

getSupportedFunctions

public java.util.List<java.lang.String> getSupportedFunctions()
Description copied from class: ExecutionFactory
Get list of all supported function names. Arithmetic functions have names like "+".

Overrides:
getSupportedFunctions in class ExecutionFactory<F,C>

getTypeFacility

public TypeFacility getTypeFacility()
Description copied from class: ExecutionFactory
Obtain a reference to the type facility, which can be used to perform many type conversions supplied by the Connector API.

Overrides:
getTypeFacility in class ExecutionFactory<F,C>

isImmutable

public boolean isImmutable()
Description copied from class: ExecutionFactory
Defines if the Connector is read-only connector

Overrides:
isImmutable in class ExecutionFactory<F,C>
Returns:

isSourceRequired

public boolean isSourceRequired()
Description copied from class: ExecutionFactory
Flag that indicates if a underlying source connection required for this execution factory to work

Overrides:
isSourceRequired in class ExecutionFactory<F,C>
Returns:

supportsAggregatesAvg

public boolean supportsAggregatesAvg()
Description copied from class: ExecutionFactory
Support indicates connector can accept the AVG aggregate function

Overrides:
supportsAggregatesAvg in class ExecutionFactory<F,C>

supportsAggregatesCount

public boolean supportsAggregatesCount()
Description copied from class: ExecutionFactory
Support indicates connector can accept the COUNT aggregate function

Overrides:
supportsAggregatesCount in class ExecutionFactory<F,C>

supportsAggregatesCountStar

public boolean supportsAggregatesCountStar()
Description copied from class: ExecutionFactory
Support indicates connector can accept the COUNT(*) aggregate function

Overrides:
supportsAggregatesCountStar in class ExecutionFactory<F,C>

supportsAggregatesDistinct

public boolean supportsAggregatesDistinct()
Description copied from class: ExecutionFactory
Support indicates connector can accept DISTINCT within aggregate functions

Overrides:
supportsAggregatesDistinct in class ExecutionFactory<F,C>

supportsAggregatesEnhancedNumeric

public boolean supportsAggregatesEnhancedNumeric()
Description copied from class: ExecutionFactory
Support indicates connector can accept STDDEV_POP, STDDEV_VAR, VAR_POP, VAR_SAMP

Overrides:
supportsAggregatesEnhancedNumeric in class ExecutionFactory<F,C>

supportsAggregatesMax

public boolean supportsAggregatesMax()
Description copied from class: ExecutionFactory
Support indicates connector can accept the MAX aggregate function

Overrides:
supportsAggregatesMax in class ExecutionFactory<F,C>

supportsAggregatesMin

public boolean supportsAggregatesMin()
Description copied from class: ExecutionFactory
Support indicates connector can accept the MIN aggregate function

Overrides:
supportsAggregatesMin in class ExecutionFactory<F,C>

supportsAggregatesSum

public boolean supportsAggregatesSum()
Description copied from class: ExecutionFactory
Support indicates connector can accept the SUM aggregate function

Overrides:
supportsAggregatesSum in class ExecutionFactory<F,C>

supportsAliasedTable

public boolean supportsAliasedTable()
Description copied from class: ExecutionFactory
Support indicates connector can accept groups with aliases

Overrides:
supportsAliasedTable in class ExecutionFactory<F,C>

supportsBatchedUpdates

public boolean supportsBatchedUpdates()
Description copied from class: ExecutionFactory
Whether the source supports BatchedUpdates

Overrides:
supportsBatchedUpdates in class ExecutionFactory<F,C>

supportsBetweenCriteria

public boolean supportsBetweenCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element BETWEEN constant AND constant)
NOT CURRENTLY USED - between is rewritten as compound compare criteria

Overrides:
supportsBetweenCriteria in class ExecutionFactory<F,C>

supportsBulkUpdate

public boolean supportsBulkUpdate()
Description copied from class: ExecutionFactory
Whether the source supports updates with multiple value sets

Overrides:
supportsBulkUpdate in class ExecutionFactory<F,C>

supportsCaseExpressions

public boolean supportsCaseExpressions()
Description copied from class: ExecutionFactory
Support indicates connector can accept queries with non-searched CASE WHEN ... END
NOT CURRENTLY USED - case is pushed down as searched case

Overrides:
supportsCaseExpressions in class ExecutionFactory<F,C>

supportsCommonTableExpressions

public boolean supportsCommonTableExpressions()
Overrides:
supportsCommonTableExpressions in class ExecutionFactory<F,C>
Returns:
true if the WITH clause is supported

supportsCompareCriteriaEquals

public boolean supportsCompareCriteriaEquals()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element = constant)

Overrides:
supportsCompareCriteriaEquals in class ExecutionFactory<F,C>

supportsCompareCriteriaOrdered

public boolean supportsCompareCriteriaOrdered()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element <=|>= constant)
The query engine will may pushdown queries containing < or > if NOT is also supported.

Overrides:
supportsCompareCriteriaOrdered in class ExecutionFactory<F,C>

supportsCorrelatedSubqueries

public boolean supportsCorrelatedSubqueries()
Description copied from class: ExecutionFactory
Support indicates connector can accept correlated subqueries wherever subqueries are accepted

Overrides:
supportsCorrelatedSubqueries in class ExecutionFactory<F,C>

supportsExcept

public boolean supportsExcept()
Description copied from class: ExecutionFactory
Support indicates that the connector supports the EXCEPT of two queries.

Overrides:
supportsExcept in class ExecutionFactory<F,C>

supportsExistsCriteria

public boolean supportsExistsCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts the EXISTS criteria

Overrides:
supportsExistsCriteria in class ExecutionFactory<F,C>

supportsFunctionsInGroupBy

public boolean supportsFunctionsInGroupBy()
Description copied from class: ExecutionFactory

Support indicates that the connector supports functions in GROUP BY, such as: SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)

Overrides:
supportsFunctionsInGroupBy in class ExecutionFactory<F,C>

supportsGroupBy

public boolean supportsGroupBy()
Description copied from class: ExecutionFactory
Whether the source supports an explicit GROUP BY clause

Overrides:
supportsGroupBy in class ExecutionFactory<F,C>

supportsHaving

public boolean supportsHaving()
Description copied from class: ExecutionFactory
Whether the source supports the HAVING clause

Overrides:
supportsHaving in class ExecutionFactory<F,C>

supportsInCriteria

public boolean supportsInCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element IN set)

Overrides:
supportsInCriteria in class ExecutionFactory<F,C>

supportsInCriteriaSubquery

public boolean supportsInCriteriaSubquery()
Description copied from class: ExecutionFactory
Support indicates connector accepts IN criteria with a subquery on the right side

Overrides:
supportsInCriteriaSubquery in class ExecutionFactory<F,C>

supportsInlineViews

public boolean supportsInlineViews()
Description copied from class: ExecutionFactory
Support indicates connector can accept inline views (subqueries in the FROM clause).

Overrides:
supportsInlineViews in class ExecutionFactory<F,C>

supportsInsertWithIterator

public boolean supportsInsertWithIterator()
Description copied from class: ExecutionFactory
Support indicates that the connector can accept INSERTs with values specified by an Iterator

Overrides:
supportsInsertWithIterator in class ExecutionFactory<F,C>
Returns:

supportsInsertWithQueryExpression

public boolean supportsInsertWithQueryExpression()
Description copied from class: ExecutionFactory
Support indicates that the connector can accept INSERTs with values specified by a SetQuery or Select

Overrides:
supportsInsertWithQueryExpression in class ExecutionFactory<F,C>

supportsIntersect

public boolean supportsIntersect()
Description copied from class: ExecutionFactory
Support indicates that the connector supports the INTERSECT of two queries.

Overrides:
supportsIntersect in class ExecutionFactory<F,C>

supportsIsNullCriteria

public boolean supportsIsNullCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element IS NULL)

Overrides:
supportsIsNullCriteria in class ExecutionFactory<F,C>

supportsLikeCriteria

public boolean supportsLikeCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element LIKE constant)

Overrides:
supportsLikeCriteria in class ExecutionFactory<F,C>

supportsLikeCriteriaEscapeCharacter

public boolean supportsLikeCriteriaEscapeCharacter()
Description copied from class: ExecutionFactory
Support indicates connector accepts criteria of form (element LIKE constant ESCAPE char)

Overrides:
supportsLikeCriteriaEscapeCharacter in class ExecutionFactory<F,C>

supportsNotCriteria

public boolean supportsNotCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts logical criteria NOT

Overrides:
supportsNotCriteria in class ExecutionFactory<F,C>

supportsOrCriteria

public boolean supportsOrCriteria()
Description copied from class: ExecutionFactory
Support indicates connector accepts logical criteria connected by OR

Overrides:
supportsOrCriteria in class ExecutionFactory<F,C>

supportsOrderByNullOrdering

public boolean supportsOrderByNullOrdering()
Description copied from class: ExecutionFactory
Returns whether the database supports explicit join ordering.

Overrides:
supportsOrderByNullOrdering in class ExecutionFactory<F,C>
Returns:
true if nulls first/last can be specified

supportsOrderByUnrelated

public boolean supportsOrderByUnrelated()
Description copied from class: ExecutionFactory
Support indicates connector accepts ORDER BY clause with columns not from the select

Overrides:
supportsOrderByUnrelated in class ExecutionFactory<F,C>
Returns:

supportsQuantifiedCompareCriteriaAll

public boolean supportsQuantifiedCompareCriteriaAll()
Description copied from class: ExecutionFactory
Support indicates connector accepts the quantified comparison criteria that use ALL

Overrides:
supportsQuantifiedCompareCriteriaAll in class ExecutionFactory<F,C>

supportsQuantifiedCompareCriteriaSome

public boolean supportsQuantifiedCompareCriteriaSome()
Description copied from class: ExecutionFactory
Support indicates connector accepts the quantified comparison criteria that use SOME

Overrides:
supportsQuantifiedCompareCriteriaSome in class ExecutionFactory<F,C>

supportsRowLimit

public boolean supportsRowLimit()
Description copied from class: ExecutionFactory
Gets whether the connector can limit the number of rows returned by a query.

Overrides:
supportsRowLimit in class ExecutionFactory<F,C>

supportsRowOffset

public boolean supportsRowOffset()
Description copied from class: ExecutionFactory
Gets whether the connector supports a SQL clause (similar to the LIMIT with an offset) that can return result sets that start in the middle of the resulting rows returned by a query

Overrides:
supportsRowOffset in class ExecutionFactory<F,C>

supportsScalarSubqueries

public boolean supportsScalarSubqueries()
Description copied from class: ExecutionFactory
Support indicates connector can accept scalar subqueries in the SELECT, WHERE, and HAVING clauses

Overrides:
supportsScalarSubqueries in class ExecutionFactory<F,C>

supportsSearchedCaseExpressions

public boolean supportsSearchedCaseExpressions()
Description copied from class: ExecutionFactory
Support indicates connector can accept queries with searched CASE WHEN ... END

Overrides:
supportsSearchedCaseExpressions in class ExecutionFactory<F,C>

supportsSelectExpression

public boolean supportsSelectExpression()
Description copied from class: ExecutionFactory
Support indicates connector can accept expressions other than element symbols in the SELECT clause. Specific supports for the expression type are still checked.

Overrides:
supportsSelectExpression in class ExecutionFactory<F,C>

supportsSelfJoins

public boolean supportsSelfJoins()
Description copied from class: ExecutionFactory
Support indicates connector can accept self-joins where a group is joined to itself with aliases. Connector must also support ExecutionFactory.supportsAliasedTable().

Overrides:
supportsSelfJoins in class ExecutionFactory<F,C>

supportsSetQueryOrderBy

public boolean supportsSetQueryOrderBy()
Description copied from class: ExecutionFactory
Support indicates that the connector supports an ORDER BY on a SetQuery.

Overrides:
supportsSetQueryOrderBy in class ExecutionFactory<F,C>

supportsUnions

public boolean supportsUnions()
Description copied from class: ExecutionFactory
Support indicates that the connector supports the UNION of two queries.

Overrides:
supportsUnions in class ExecutionFactory<F,C>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

useAnsiJoin

public boolean useAnsiJoin()
Description copied from class: ExecutionFactory
Whether the source prefers to use ANSI style joins.

Overrides:
useAnsiJoin in class ExecutionFactory<F,C>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2011. All Rights Reserved.