org.teiid.translator.yahoo
Class YahooExecutionFactory

java.lang.Object
  extended by org.teiid.translator.ExecutionFactory<java.lang.Object,java.lang.Object>
      extended by org.teiid.translator.yahoo.YahooExecutionFactory

@Translator(name="yahoo")
public class YahooExecutionFactory
extends ExecutionFactory<java.lang.Object,java.lang.Object>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.teiid.translator.ExecutionFactory
ExecutionFactory.SupportedJoinCriteria
 
Field Summary
static int YAHOO_MAX_SET_SIZE
           
 
Fields inherited from class org.teiid.translator.ExecutionFactory
DEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE
 
Constructor Summary
YahooExecutionFactory()
           
 
Method Summary
 ResultSetExecution createResultSetExecution(QueryExpression command, ExecutionContext executionContext, RuntimeMetadata metadata, java.lang.Object connectionFactory)
           
 int getMaxInCriteriaSize()
          Get the integer value representing the number of values allowed in an IN criteria in the WHERE clause of a query
 java.util.List getSupportedFunctions()
          Get list of all supported function names.
 void start()
          Initialize the connector with supplied configuration
 boolean supportsCompareCriteriaEquals()
          Support indicates connector accepts criteria of form (element = constant)
 boolean supportsInCriteria()
          Support indicates connector accepts criteria of form (element IN set)
 
Methods inherited from class org.teiid.translator.ExecutionFactory
closeConnection, createExecution, createProcedureExecution, createUpdateExecution, getConnection, getInstance, getLanguageFactory, getMaxFromGroups, getMetadata, getSupportedJoinCriteria, getTypeFacility, isImmutable, isSourceRequired, requiresCriteria, setImmutable, setRequiresCriteria, setSourceRequired, setSupportedJoinCriteria, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, supportsAggregatesAvg, supportsAggregatesCount, supportsAggregatesCountStar, supportsAggregatesDistinct, supportsAggregatesMax, supportsAggregatesMin, supportsAggregatesSum, supportsAliasedTable, supportsBatchedUpdates, supportsBetweenCriteria, supportsBulkUpdate, supportsCaseExpressions, supportsCompareCriteriaOrdered, supportsCorrelatedSubqueries, supportsExcept, supportsExistsCriteria, supportsFullOuterJoins, supportsFunctionsInGroupBy, supportsGroupBy, supportsHaving, supportsInCriteriaSubquery, supportsInlineViews, supportsInnerJoins, supportsInsertWithQueryExpression, supportsIntersect, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsNotCriteria, supportsOrCriteria, supportsOrderBy, supportsOrderByUnrelated, supportsOuterJoins, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsRowLimit, supportsRowOffset, supportsScalarSubqueries, supportsSearchedCaseExpressions, supportsSelectDistinct, supportsSelectExpression, supportsSelfJoins, supportsSetQueryOrderBy, supportsUnions, useAnsiJoin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

YAHOO_MAX_SET_SIZE

public static final int YAHOO_MAX_SET_SIZE
See Also:
Constant Field Values
Constructor Detail

YahooExecutionFactory

public YahooExecutionFactory()
Method Detail

start

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

Overrides:
start in class ExecutionFactory<java.lang.Object,java.lang.Object>
Throws:
TranslatorException

createResultSetExecution

public ResultSetExecution createResultSetExecution(QueryExpression command,
                                                   ExecutionContext executionContext,
                                                   RuntimeMetadata metadata,
                                                   java.lang.Object connectionFactory)
                                            throws TranslatorException
Overrides:
createResultSetExecution in class ExecutionFactory<java.lang.Object,java.lang.Object>
Throws:
TranslatorException

getSupportedFunctions

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

Overrides:
getSupportedFunctions in class ExecutionFactory<java.lang.Object,java.lang.Object>

supportsCompareCriteriaEquals

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

Overrides:
supportsCompareCriteriaEquals in class ExecutionFactory<java.lang.Object,java.lang.Object>

supportsInCriteria

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

Overrides:
supportsInCriteria in class ExecutionFactory<java.lang.Object,java.lang.Object>

getMaxInCriteriaSize

public int getMaxInCriteriaSize()
Description copied from class: ExecutionFactory
Get the integer value representing the number of values allowed in an IN criteria in the WHERE clause of a query

Overrides:
getMaxInCriteriaSize in class ExecutionFactory<java.lang.Object,java.lang.Object>


Copyright © 2010. All Rights Reserved.