Package org.teiid.translator
Class BaseDelegatingExecutionFactory<F,C>
- java.lang.Object
-
- org.teiid.translator.ExecutionFactory<F,C>
-
- org.teiid.translator.BaseDelegatingExecutionFactory<F,C>
-
- All Implemented Interfaces:
DelegatingExecutionFactory<F,C>
@Translator(name="delegator", description="Translator that delegates to another translator with capability override certain methods/capabilities") public class BaseDelegatingExecutionFactory<F,C> extends ExecutionFactory<F,C> implements DelegatingExecutionFactory<F,C>
Base delegating translator. Will proxy all calls to anotherExecutionFactory. You will create a custom translator as a subclass of this class containing overrides for any method you wish to intercept. Given that subclass is given aTranslatorname of 'custom-delegator', your 'vdb.xml' file will contain an XML fragment like the following to assign the delegate:<translator type="custom-delegator" name="my-translator" description="custom translator"> <property value="delegateName" name="name of the delegate instance"/> <!-- any custom properties will also appear here --> </translator>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.translator.ExecutionFactory
ExecutionFactory.Format, ExecutionFactory.NullOrder, ExecutionFactory.SupportedJoinCriteria, ExecutionFactory.TransactionSupport
-
-
Field Summary
-
Fields inherited from class org.teiid.translator.ExecutionFactory
DEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE, DEFAULT_MAX_PROJECTED_COLUMNS
-
-
Constructor Summary
Constructors Constructor Description BaseDelegatingExecutionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanareLobsUsableAfterClose()Indicates if LOBs are usable after the execution is closed.voidcloseConnection(C connection, F factory)Closes a connection object from the given connection factory.ProcedureExecutioncreateDirectExecution(List<Argument> arguments, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)ProcedureExecutioncreateProcedureExecution(Call command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)ResultSetExecutioncreateResultSetExecution(QueryExpression command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)UpdateExecutioncreateUpdateExecution(Command command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection)booleanequals(Object obj)StringgetAddSupportedFunctions()CacheDirectivegetCacheDirective(Command command, ExecutionContext executionContext, RuntimeMetadata metadata)Get theCacheDirectiveto control command caching.StringgetCachePattern()LonggetCacheTtl()StringgetCollationLocale()Indicates the collation used for sortingCgetConnection(F factory, ExecutionContext executionContext)Return a connection object from the given connection factory.ExecutionFactory.NullOrdergetDefaultNullOrder()Returns the default null orderingprotected ExecutionFactory<F,C>getDelegate()For testing onlyStringgetDelegateName()StringgetDirectQueryProcedureName()Defines the name of the direct processing procedure.StringgetExcludedCommonTableExpressionName()LanguageFactorygetLanguageFactory()Obtain a reference to the default LanguageFactory that can be used to construct new language interface objects.intgetMaxDependentInPredicates()Get the integer value representing the max number of dependent IN predicates.intgetMaxFromGroups()The number of groups supported in the from clause.intgetMaxInCriteriaSize()Get the integer value representing the number of values allowed in an IN criteria in the WHERE clause of a queryintgetMaxProjectedColumns()The number of columns supported in projected select clause.voidgetMetadata(MetadataFactory metadataFactory, C conn)Implement to provide metadata to the metadata for use by the engine.List<FunctionMethod>getPushDownFunctions()Get a list ofFunctionMethods that will be contributed to the SYS schema.StringgetRemoveSupportedFunctions()CharactergetRequiredLikeEscape()The required escape character or null if all are supported.List<String>getSupportedFunctions()Get list of all supported function names.ExecutionFactory.SupportedJoinCriteriagetSupportedJoinCriteria()Get the supported join criteria.ExecutionFactory.TransactionSupportgetTransactionSupport()TypeFacilitygetTypeFacility()Obtain a reference to the type facility, which can be used to perform many type conversions supplied by the Connector API.inthashCode()voidinitCapabilities(C connection)Will be called byExecutionFactory.start()with a null connection if a source connection is notExecutionFactory.isSourceRequiredForCapabilities()booleanisCopyLobs()booleanisForkable()When forkable the engine may use a separate thread to interact with returnedExecution.booleanisImmutable()Defines if the Connector is read-only connectorbooleanisSourceRequired()Flag that indicates if a underlying source connection required for this execution factory to workbooleanisSourceRequiredForCapabilities()If true, theExecutionFactory.initCapabilities(Object)method will be consulted prior to determining the capabilitiesbooleanisSourceRequiredForMetadata()Flag that indicates if a underlying source connection required for this execution factory to return metadatabooleanisThreadBound()booleanrequiresCriteria()Whether the source supports queries without criteria.booleanreturnsSingleUpdateCount()True if only a single value is returned for the update count.voidsetAddSupportedFunctions(String functionNames)voidsetCachePattern(String cachePattern)voidsetCacheTtl(Long ttl)voidsetCollationLocale(String value)voidsetCopyLobs(boolean value)voidsetDefaultNullOrder(ExecutionFactory.NullOrder nullOrder)voidsetDelegate(ExecutionFactory<F,C> delegate)Sets the delegate, will be called by Teiid afterstart()voidsetDelegateName(String delegateName)voidsetDirectQueryProcedureName(String name)voidsetExcludedCommonTableExpressionName(String value)voidsetForkable(boolean value)voidsetImmutable(boolean value)voidsetMaxDependentInPredicates(int maxDependentInPredicates)voidsetMaxFromGroups(int value)voidsetMaxInCriteriaSize(int max)voidsetMaxProjectedColumns(int value)voidsetRemoveSupportedFunctions(String functionNames)voidsetRequiredLikeEscape(Character c)voidsetRequiresCriteria(boolean value)voidsetSourceRequired(boolean value)voidsetSourceRequiredForCapabilities(boolean value)voidsetSourceRequiredForMetadata(boolean value)voidsetSupportedJoinCriteria(ExecutionFactory.SupportedJoinCriteria value)voidsetSupportsAdvancedOlapOperations(boolean value)voidsetSupportsAggregatesAvg(boolean value)voidsetSupportsAggregatesCount(boolean value)voidsetSupportsAggregatesCountBig(boolean supportsAggregatesCountBig)voidsetSupportsAggregatesCountStar(boolean value)voidsetSupportsAggregatesDistinct(boolean value)voidsetSupportsAggregatesEnhancedNumeric(boolean value)voidsetSupportsAggregatesMax(boolean value)voidsetSupportsAggregatesMin(boolean value)voidsetSupportsAggregatesSum(boolean value)voidsetSupportsAliasedTable(boolean value)voidsetSupportsArrayAgg(boolean value)voidsetSupportsArrayType(boolean value)voidsetSupportsBatchedUpdates(boolean value)voidsetSupportsBulkUpdate(boolean value)voidsetSupportsCommonTableExpressions(boolean value)voidsetSupportsCompareCriteriaEquals(boolean value)voidsetSupportsCompareCriteriaOrdered(boolean value)voidsetSupportsCompareCriteriaOrderedExclusive(boolean value)voidsetSupportsCorrelatedSubqueries(boolean value)voidsetSupportsCorrelatedSubqueryLimit(boolean value)voidsetSupportsDependentJoins(boolean value)voidsetSupportsDirectQueryProcedure(boolean value)voidsetSupportsElementaryOlapOperations(boolean value)voidsetSupportsExcept(boolean value)voidsetSupportsExistsCriteria(boolean value)voidsetSupportsFullDependentJoins(boolean value)voidsetSupportsFullOuterJoins(boolean supportsFullOuterJoins)voidsetSupportsFunctionsInGroupBy(boolean value)voidsetSupportsGeographyType(boolean supportsGeographyType)voidsetSupportsGroupBy(boolean value)voidsetSupportsGroupByMultipleDistinctAggregates(boolean value)voidsetSupportsGroupByRollup(boolean value)voidsetSupportsHaving(boolean value)voidsetSupportsInCriteria(boolean value)voidsetSupportsInCriteriaSubquery(boolean value)voidsetSupportsInlineViews(boolean value)voidsetSupportsInnerJoins(boolean supportsInnerJoins)voidsetSupportsInsertWithQueryExpression(boolean value)voidsetSupportsIntersect(boolean value)voidsetSupportsIsDistinctCriteria(boolean value)voidsetSupportsIsNullCriteria(boolean value)voidsetSupportsLateralJoin(boolean value)voidsetSupportsLateralJoinCondition(boolean value)voidsetSupportsLikeCriteria(boolean value)voidsetSupportsLikeCriteriaEscapeCharacter(boolean value)voidsetSupportsLikeRegex(boolean value)voidsetSupportsListAgg(boolean value)voidsetSupportsMultipleOpenStatements(boolean supportsMultipleOpenStatements)voidsetSupportsNotCriteria(boolean value)voidsetSupportsOnlyCorrelatedSubqueries(boolean value)voidsetSupportsOnlyFormatLiterals(boolean value)voidsetSupportsOnlyLateralJoinProcedure(boolean supportsOnlyLateralJoinProcedure)voidsetSupportsOnlyLiteralComparison(boolean value)voidsetSupportsOnlySingleTableGroupBy(boolean value)voidsetSupportsOnlyTimestampAddLiteral(boolean supportsOnlyTimestampAddLiteral)voidsetSupportsOrCriteria(boolean value)voidsetSupportsOrderBy(boolean supportsOrderBy)voidsetSupportsOrderByNullOrdering(boolean value)voidsetSupportsOrderByUnrelated(boolean value)voidsetSupportsOrderByWithExtendedGrouping(boolean value)voidsetSupportsOuterJoins(boolean supportsOuterJoins)voidsetSupportsPartialFiltering(boolean value)voidsetSupportsProcedureParameterExpression(Boolean supportsProcedureParameterExpression)voidsetSupportsProcedureTable(boolean value)voidsetSupportsQuantifiedCompareCriteriaAll(boolean value)voidsetSupportsQuantifiedCompareCriteriaSome(boolean value)voidsetSupportsRecursiveCommonTableExpressions(boolean value)voidsetSupportsRowLimit(boolean value)voidsetSupportsRowOffset(boolean value)voidsetSupportsScalarSubqueries(boolean value)voidsetSupportsScalarSubqueryProjection(boolean value)voidsetSupportsSearchedCaseExpressions(boolean value)voidsetSupportsSelectDistinct(boolean supportsSelectDistinct)voidsetSupportsSelectExpression(boolean value)voidsetSupportsSelectExpressionArrayType(boolean value)voidsetSupportsSelectWithoutFrom(boolean value)voidsetSupportsSelfJoins(boolean value)voidsetSupportsSetQueryLimitOffset(boolean value)voidsetSupportsSetQueryOrderBy(boolean value)voidsetSupportsSimilarTo(boolean value)voidsetSupportsStringAgg(boolean value)voidsetSupportsSubqueryCommonTableExpressions(boolean value)voidsetSupportsSubqueryInOn(boolean value)voidsetSupportsUnions(boolean value)voidsetSupportsUpsert(boolean value)voidsetSupportsWindowDistinctAggregates(boolean value)voidsetSupportsWindowFrameClause(boolean value)voidsetSupportsWindowFunctionCumeDist(boolean supportsCumeDist)voidsetSupportsWindowFunctionNthValue(boolean supportsNthValue)voidsetSupportsWindowFunctionNtile(boolean supportsNtile)voidsetSupportsWindowFunctionPercentRank(boolean supportsPercentRank)voidsetSupportsWindowOrderByWithAggregates(boolean value)voidsetThreadBound(boolean value)voidsetTransactionSupport(ExecutionFactory.TransactionSupport transactionSupport)voidsetUseAnsiJoin(boolean value)voidsetUseBindingsForDependentJoin(boolean value)voidstart()Initialize the connector with supplied configurationbooleansupportsAdvancedOlapOperations()booleansupportsAggregatesAvg()Support indicates connector can accept the AVG aggregate functionbooleansupportsAggregatesCount()Support indicates connector can accept the COUNT aggregate functionbooleansupportsAggregatesCountBig()booleansupportsAggregatesCountStar()Support indicates connector can accept the COUNT(*) aggregate functionbooleansupportsAggregatesDistinct()Support indicates connector can accept DISTINCT within aggregate functionsbooleansupportsAggregatesEnhancedNumeric()Support indicates connector can accept STDDEV_POP, STDDEV_VAR, VAR_POP, VAR_SAMPbooleansupportsAggregatesMax()Support indicates connector can accept the MAX aggregate functionbooleansupportsAggregatesMin()Support indicates connector can accept the MIN aggregate functionbooleansupportsAggregatesSum()Support indicates connector can accept the SUM aggregate functionbooleansupportsAliasedTable()Support indicates connector can accept groups with aliasesbooleansupportsArrayAgg()booleansupportsArrayType()The engine uses array types for dependent joins and for array expression.booleansupportsBatchedUpdates()Whether the source supportsBatchedUpdatesbooleansupportsBulkUpdate()Whether the source supports updates with multiple value setsbooleansupportsCommonTableExpressions()booleansupportsCompareCriteriaEquals()Support indicates connector accepts criteria of form (element = constant)booleansupportsCompareCriteriaOrdered()Support indicates connector accepts criteria of form (element <=|>= constant)
The query engine will may pushdown queries containing < or > if NOT is also supported.booleansupportsCompareCriteriaOrderedExclusive()Support indicates connector accepts criteria of form (element <|> constant)voidsupportsCompareCriteriaOrderedExclusive(boolean value)Deprecated.booleansupportsConvert(int fromType, int toType)Used for fine grained control of convert/cast pushdown.booleansupportsCorrelatedSubqueries()Support indicates connector can accept correlated subqueries wherever subqueries are acceptedbooleansupportsCorrelatedSubqueryLimit()booleansupportsDependentJoins()NOTE: The pushed independent tuples will not have been converted to a unique set and may contain duplicates.booleansupportsDirectQueryProcedure()True, if this translator supports execution of source specific commands unaltered through a direct procedure.booleansupportsElementaryOlapOperations()booleansupportsExcept()Support indicates that the connector supports the EXCEPT of two queries.booleansupportsExistsCriteria()Support indicates connector accepts the EXISTS criteriabooleansupportsFormatLiteral(String literal, ExecutionFactory.Format format)booleansupportsFullDependentJoins()booleansupportsFullOuterJoins()Support indicates connector can accept full outer joinsbooleansupportsFunctionsInGroupBy()Support indicates that the connector supports non-column expressions in GROUP BY, such as:SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)booleansupportsGeographyType()If the geography type is supported by the standard ST_ geospatial functionsbooleansupportsGroupBy()Whether the source supports an explicit GROUP BY clausebooleansupportsGroupByMultipleDistinctAggregates()Whether the source supports grouping with multiple distinct aggregatesbooleansupportsGroupByRollup()booleansupportsHaving()Whether the source supports the HAVING clausebooleansupportsInCriteria()Support indicates connector accepts criteria of form (element IN set)booleansupportsInCriteriaSubquery()Support indicates connector accepts IN criteria with a subquery on the right sidebooleansupportsInlineViews()Support indicates connector can accept inline views (subqueries in the FROM clause).booleansupportsInnerJoins()Support indicates connector can accept inner or cross joinsbooleansupportsInsertWithQueryExpression()booleansupportsIntersect()Support indicates that the connector supports the INTERSECT of two queries.booleansupportsIsDistinctCriteria()Support indicates connector accepts criteria of form (exp1 IS DISTINCT exp2)booleansupportsIsNullCriteria()Support indicates connector accepts criteria of form (element IS NULL)booleansupportsLateralJoin()booleansupportsLateralJoinCondition()booleansupportsLikeCriteria()Support indicates connector accepts criteria of form (element LIKE constant)booleansupportsLikeCriteriaEscapeCharacter()Support indicates connector accepts criteria of form (element LIKE constant ESCAPE char)booleansupportsLikeRegex()booleansupportsListAgg()booleansupportsMultipleOpenExecutions()booleansupportsNotCriteria()Support indicates connector accepts logical criteria NOTbooleansupportsOnlyCorrelatedSubqueries()booleansupportsOnlyFormatLiterals()booleansupportsOnlyLateralJoinProcedure()booleansupportsOnlyLiteralComparison()booleansupportsOnlySingleTableGroupBy()Whether the source supports grouping only over a single tablebooleansupportsOnlyTimestampAddLiteral()booleansupportsOrCriteria()Support indicates connector accepts logical criteria connected by ORbooleansupportsOrderBy()Support indicates connector accepts ORDER BY clause, including multiple elements and ascending and descending sorts.booleansupportsOrderByNullOrdering()Returns whether the database supports explicit null ordering.booleansupportsOrderByUnrelated()Support indicates connector accepts ORDER BY clause with columns not from the selectbooleansupportsOrderByWithExtendedGrouping()booleansupportsOuterJoins()Support indicates connector can accept left outer joinsbooleansupportsPartialFiltering()Return true if the source has columns marked with the teiid_rel:partial that can return more rows than specified by a filter if the column is also projected.booleansupportsProcedureParameterExpression()Return true if the translator supports expressions as procedure paramters.booleansupportsProcedureTable()booleansupportsQuantifiedCompareCriteriaAll()Support indicates connector accepts the quantified comparison criteria that use ALLbooleansupportsQuantifiedCompareCriteriaSome()Support indicates connector accepts the quantified comparison criteria that use SOMEbooleansupportsRecursiveCommonTableExpressions()booleansupportsRowLimit()Gets whether the connector can limit the number of rows returned by a query.booleansupportsRowOffset()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 querybooleansupportsScalarSubqueries()Support indicates connector can accept scalar subqueries in the SELECT, WHERE, and HAVING clausesbooleansupportsScalarSubqueryProjection()If a scalar subquery can be projected.booleansupportsSearchedCaseExpressions()Support indicates connector can accept queries with searched CASE WHEN criteria ...booleansupportsSelectDistinct()Support indicates connector can accept queries with SELECT DISTINCTbooleansupportsSelectExpression()Support indicates connector can accept expressions other than element symbols in the SELECT clause.booleansupportsSelectExpressionArrayType()booleansupportsSelectWithoutFrom()booleansupportsSelfJoins()Support indicates connector can accept self-joins where a group is joined to itself with aliases.booleansupportsSetQueryLimitOffset()Support indicates that the connector supports an LIMIT/OFFSET on a SetQuery.booleansupportsSetQueryOrderBy()Support indicates that the connector supports an ORDER BY on a SetQuery.booleansupportsSimilarTo()booleansupportsStringAgg()booleansupportsSubqueryCommonTableExpressions()booleansupportsSubqueryInOn()Refines subquery support.booleansupportsUnions()Support indicates that the connector supports the UNION of two queries.booleansupportsUpsert()booleansupportsWindowDistinctAggregates()booleansupportsWindowFrameClause()booleansupportsWindowFunctionCumeDist()booleansupportsWindowFunctionNthValue()booleansupportsWindowFunctionNtile()booleansupportsWindowFunctionPercentRank()booleansupportsWindowOrderByWithAggregates()StringtoString()booleanuseAnsiJoin()Whether the source prefers to use ANSI style joins.booleanuseBindingsForDependentJoin()If dependent join predicates should use literals that are marked as bind eligible.-
Methods inherited from class org.teiid.translator.ExecutionFactory
addPushDownFunction, createExecution, getConnection, getInstance, getMetadataProcessor, getNativeQueryProcedureName, setNativeQueryProcedureName, setSupportsNativeQueries, supportsNativeQueries
-
-
-
-
Method Detail
-
getDelegate
protected ExecutionFactory<F,C> getDelegate()
For testing only
-
setDelegate
public void setDelegate(ExecutionFactory<F,C> delegate)
Sets the delegate, will be called by Teiid afterstart()- Specified by:
setDelegatein interfaceDelegatingExecutionFactory<F,C>
-
getDelegateName
@TranslatorProperty(display="Delegate name", required=true) public String getDelegateName()
- Specified by:
getDelegateNamein interfaceDelegatingExecutionFactory<F,C>
-
setDelegateName
public void setDelegateName(String delegateName)
-
areLobsUsableAfterClose
public boolean areLobsUsableAfterClose()
Description copied from class:ExecutionFactoryIndicates if LOBs are usable after the execution is closed.- Overrides:
areLobsUsableAfterClosein classExecutionFactory<F,C>- Returns:
- true if LOBs can be used after close
-
closeConnection
public void closeConnection(C connection, F factory)
Description copied from class:ExecutionFactoryCloses a connection object from the given connection factory. The default implementation assumes a JCAConnection. Subclasses should override, if they use another type of connection.- Overrides:
closeConnectionin classExecutionFactory<F,C>
-
createProcedureExecution
public ProcedureExecution createProcedureExecution(Call command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection) throws TranslatorException
- Overrides:
createProcedureExecutionin classExecutionFactory<F,C>- Throws:
TranslatorException
-
createResultSetExecution
public ResultSetExecution createResultSetExecution(QueryExpression command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection) throws TranslatorException
- Overrides:
createResultSetExecutionin classExecutionFactory<F,C>- Throws:
TranslatorException
-
createUpdateExecution
public UpdateExecution createUpdateExecution(Command command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection) throws TranslatorException
- Overrides:
createUpdateExecutionin classExecutionFactory<F,C>- Throws:
TranslatorException
-
getConnection
public C getConnection(F factory, ExecutionContext executionContext) throws TranslatorException
Description copied from class:ExecutionFactoryReturn a connection object from the given connection factory. The default implementation assumes a JCAConnectionFactory. Subclasses should override, if they use another type of connection factory or wish to use theExecutionContext. By default callsExecutionFactory.getConnection(Object)- Overrides:
getConnectionin classExecutionFactory<F,C>executionContext- null if this is a system request for a connection- Returns:
- a connection
- Throws:
TranslatorException
-
getDefaultNullOrder
@TranslatorProperty(display="Default Null Order", advanced=true) public ExecutionFactory.NullOrder getDefaultNullOrder()
Description copied from class:ExecutionFactoryReturns the default null ordering- Overrides:
getDefaultNullOrderin classExecutionFactory<F,C>- Returns:
- the
ExecutionFactory.NullOrder
-
setDefaultNullOrder
public void setDefaultNullOrder(ExecutionFactory.NullOrder nullOrder)
-
getLanguageFactory
public LanguageFactory getLanguageFactory()
Description copied from class:ExecutionFactoryObtain 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:
getLanguageFactoryin classExecutionFactory<F,C>
-
getMaxFromGroups
@TranslatorProperty(display="Max FROM Allowed", description="The number of groups supported in the from clause", advanced=true) public int getMaxFromGroups()
Description copied from class:ExecutionFactoryThe number of groups supported in the from clause. Added for a Sybase limitation.- Overrides:
getMaxFromGroupsin classExecutionFactory<F,C>- Returns:
- the number of groups supported in the from clause, or -1 if there is no limit
-
setMaxFromGroups
public void setMaxFromGroups(int value)
-
getMaxProjectedColumns
@TranslatorProperty(display="Max projected columns allowed", description="The number of columns supported in projected select clause", advanced=true) public int getMaxProjectedColumns()
Description copied from class:ExecutionFactoryThe number of columns supported in projected select clause. Added for a postgresql limitation.- Overrides:
getMaxProjectedColumnsin classExecutionFactory<F,C>- Returns:
- the maximum number of columns in the projected select clause or -1 if there is no limit
-
setMaxProjectedColumns
public void setMaxProjectedColumns(int value)
-
getMetadata
public void getMetadata(MetadataFactory metadataFactory, C conn) throws TranslatorException
Description copied from class:ExecutionFactoryImplement to provide metadata to the metadata for use by the engine. This is the primary method of creating metadata for dynamic VDBs.- Overrides:
getMetadatain classExecutionFactory<F,C>conn- may be null if the source is not required- Throws:
TranslatorException- to indicate a recoverable error, otherwise a RuntimeException- See Also:
ExecutionFactory.isSourceRequiredForMetadata()
-
getPushDownFunctions
public List<FunctionMethod> getPushDownFunctions()
Description copied from class:ExecutionFactoryGet a list ofFunctionMethods 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:
getPushDownFunctionsin classExecutionFactory<F,C>- Returns:
- See Also:
ExecutionFactory.addPushDownFunction(String, String, String, String...)
-
getSupportedFunctions
public List<String> getSupportedFunctions()
Description copied from class:ExecutionFactoryGet list of all supported function names. Arithmetic functions have names like "+".- Overrides:
getSupportedFunctionsin classExecutionFactory<F,C>- See Also:
for a listing of system pushdown functions. Note that not all system functions are listed as some functions will use a common name such as CONCAT vs. the || operator, and other functions will be rewritten and not pushed down, such as SPACE. Note: User defined functions should be specified fully qualified.
-
getAddSupportedFunctions
@TranslatorProperty(display="Add Supported Functions(CSV)", description="Add comma seperated names to system functions", advanced=true) public String getAddSupportedFunctions()
-
setAddSupportedFunctions
public void setAddSupportedFunctions(String functionNames)
-
getRemoveSupportedFunctions
@TranslatorProperty(display="Remove Supported Functions(CSV)", description="Remove comma seperated names from system functions", advanced=true) public String getRemoveSupportedFunctions()
-
setRemoveSupportedFunctions
public void setRemoveSupportedFunctions(String functionNames)
-
getTypeFacility
public TypeFacility getTypeFacility()
Description copied from class:ExecutionFactoryObtain a reference to the type facility, which can be used to perform many type conversions supplied by the Connector API.- Overrides:
getTypeFacilityin classExecutionFactory<F,C>
-
isImmutable
public boolean isImmutable()
Description copied from class:ExecutionFactoryDefines if the Connector is read-only connector- Overrides:
isImmutablein classExecutionFactory<F,C>- Returns:
-
setImmutable
public void setImmutable(boolean value)
- Overrides:
setImmutablein classExecutionFactory<F,C>
-
isSourceRequired
@TranslatorProperty(display="Is Source Required", advanced=true) public boolean isSourceRequired()
Description copied from class:ExecutionFactoryFlag that indicates if a underlying source connection required for this execution factory to work- Overrides:
isSourceRequiredin classExecutionFactory<F,C>- Returns:
-
setSourceRequired
public void setSourceRequired(boolean value)
- Overrides:
setSourceRequiredin classExecutionFactory<F,C>
-
supportsAggregatesAvg
@TranslatorProperty(display="Supports AVG()", advanced=true) public boolean supportsAggregatesAvg()
Description copied from class:ExecutionFactorySupport indicates connector can accept the AVG aggregate function- Overrides:
supportsAggregatesAvgin classExecutionFactory<F,C>
-
setSupportsAggregatesAvg
public void setSupportsAggregatesAvg(boolean value)
-
supportsAggregatesCount
@TranslatorProperty(display="Supports COUNT()", advanced=true) public boolean supportsAggregatesCount()
Description copied from class:ExecutionFactorySupport indicates connector can accept the COUNT aggregate function- Overrides:
supportsAggregatesCountin classExecutionFactory<F,C>
-
setSupportsAggregatesCount
public void setSupportsAggregatesCount(boolean value)
-
supportsAggregatesCountStar
@TranslatorProperty(display="Supports Count(*)", advanced=true) public boolean supportsAggregatesCountStar()
Description copied from class:ExecutionFactorySupport indicates connector can accept the COUNT(*) aggregate function- Overrides:
supportsAggregatesCountStarin classExecutionFactory<F,C>
-
setSupportsAggregatesCountStar
public void setSupportsAggregatesCountStar(boolean value)
-
supportsAggregatesDistinct
@TranslatorProperty(display="Supports DISTINCT", advanced=true) public boolean supportsAggregatesDistinct()
Description copied from class:ExecutionFactorySupport indicates connector can accept DISTINCT within aggregate functions- Overrides:
supportsAggregatesDistinctin classExecutionFactory<F,C>
-
setSupportsAggregatesDistinct
public void setSupportsAggregatesDistinct(boolean value)
-
supportsAggregatesEnhancedNumeric
@TranslatorProperty(display="Supports Aggegate Enhanced Numeric", advanced=true) public boolean supportsAggregatesEnhancedNumeric()
Description copied from class:ExecutionFactorySupport indicates connector can accept STDDEV_POP, STDDEV_VAR, VAR_POP, VAR_SAMP- Overrides:
supportsAggregatesEnhancedNumericin classExecutionFactory<F,C>
-
setSupportsAggregatesEnhancedNumeric
public void setSupportsAggregatesEnhancedNumeric(boolean value)
-
supportsAggregatesMax
@TranslatorProperty(display="Supports MAX", advanced=true) public boolean supportsAggregatesMax()
Description copied from class:ExecutionFactorySupport indicates connector can accept the MAX aggregate function- Overrides:
supportsAggregatesMaxin classExecutionFactory<F,C>
-
setSupportsAggregatesMax
public void setSupportsAggregatesMax(boolean value)
-
supportsAggregatesMin
@TranslatorProperty(display="Supports MIN", advanced=true) public boolean supportsAggregatesMin()
Description copied from class:ExecutionFactorySupport indicates connector can accept the MIN aggregate function- Overrides:
supportsAggregatesMinin classExecutionFactory<F,C>
-
setSupportsAggregatesMin
public void setSupportsAggregatesMin(boolean value)
-
supportsAggregatesSum
@TranslatorProperty(display="Supports SUM", advanced=true) public boolean supportsAggregatesSum()
Description copied from class:ExecutionFactorySupport indicates connector can accept the SUM aggregate function- Overrides:
supportsAggregatesSumin classExecutionFactory<F,C>
-
setSupportsAggregatesSum
public void setSupportsAggregatesSum(boolean value)
-
supportsAliasedTable
@TranslatorProperty(display="Supports Alias (ex: as A)", advanced=true) public boolean supportsAliasedTable()
Description copied from class:ExecutionFactorySupport indicates connector can accept groups with aliases- Overrides:
supportsAliasedTablein classExecutionFactory<F,C>
-
setSupportsAliasedTable
public void setSupportsAliasedTable(boolean value)
-
supportsBatchedUpdates
@TranslatorProperty(display="Supports Batched Updates", advanced=true) public boolean supportsBatchedUpdates()
Description copied from class:ExecutionFactoryWhether the source supportsBatchedUpdates- Overrides:
supportsBatchedUpdatesin classExecutionFactory<F,C>
-
setSupportsBatchedUpdates
public void setSupportsBatchedUpdates(boolean value)
-
supportsBulkUpdate
@TranslatorProperty(display="Supports Bulk Updates", advanced=true) public boolean supportsBulkUpdate()
Description copied from class:ExecutionFactoryWhether the source supports updates with multiple value sets- Overrides:
supportsBulkUpdatein classExecutionFactory<F,C>
-
setSupportsBulkUpdate
public void setSupportsBulkUpdate(boolean value)
-
supportsCommonTableExpressions
@TranslatorProperty(display="Supports Common Table Expressions", advanced=true) public boolean supportsCommonTableExpressions()
- Overrides:
supportsCommonTableExpressionsin classExecutionFactory<F,C>- Returns:
- true if the WITH clause is supported
-
setSupportsCommonTableExpressions
public void setSupportsCommonTableExpressions(boolean value)
-
supportsCompareCriteriaEquals
@TranslatorProperty(display="Supports Compare Criteria Equals", advanced=true) public boolean supportsCompareCriteriaEquals()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element = constant)- Overrides:
supportsCompareCriteriaEqualsin classExecutionFactory<F,C>
-
setSupportsCompareCriteriaEquals
public void setSupportsCompareCriteriaEquals(boolean value)
-
supportsCompareCriteriaOrdered
@TranslatorProperty(display="Supports Compare Criteria Ordered", advanced=true) public boolean supportsCompareCriteriaOrdered()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element <=|>= constant)
The query engine will may pushdown queries containing < or > if NOT is also supported.- Overrides:
supportsCompareCriteriaOrderedin classExecutionFactory<F,C>
-
setSupportsCompareCriteriaOrdered
public void setSupportsCompareCriteriaOrdered(boolean value)
-
supportsCorrelatedSubqueries
@TranslatorProperty(display="Supports Correlated Subqueries", advanced=true) public boolean supportsCorrelatedSubqueries()
Description copied from class:ExecutionFactorySupport indicates connector can accept correlated subqueries wherever subqueries are accepted- Overrides:
supportsCorrelatedSubqueriesin classExecutionFactory<F,C>
-
setSupportsCorrelatedSubqueries
public void setSupportsCorrelatedSubqueries(boolean value)
-
supportsExcept
@TranslatorProperty(display="Supports EXCEPT", advanced=true) public boolean supportsExcept()
Description copied from class:ExecutionFactorySupport indicates that the connector supports the EXCEPT of two queries.- Overrides:
supportsExceptin classExecutionFactory<F,C>
-
setSupportsExcept
public void setSupportsExcept(boolean value)
-
supportsExistsCriteria
@TranslatorProperty(display="Supports EXISTS", advanced=true) public boolean supportsExistsCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts the EXISTS criteria- Overrides:
supportsExistsCriteriain classExecutionFactory<F,C>
-
setSupportsExistsCriteria
public void setSupportsExistsCriteria(boolean value)
-
supportsFunctionsInGroupBy
@TranslatorProperty(display="Supports Functions in GROUP BY", advanced=true) public boolean supportsFunctionsInGroupBy()
Description copied from class:ExecutionFactorySupport indicates that the connector supports non-column expressions in GROUP BY, such as:
SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)- Overrides:
supportsFunctionsInGroupByin classExecutionFactory<F,C>
-
setSupportsFunctionsInGroupBy
public void setSupportsFunctionsInGroupBy(boolean value)
-
supportsGroupBy
@TranslatorProperty(display="Supports GROUP BY", advanced=true) public boolean supportsGroupBy()
Description copied from class:ExecutionFactoryWhether the source supports an explicit GROUP BY clause- Overrides:
supportsGroupByin classExecutionFactory<F,C>
-
setSupportsGroupBy
public void setSupportsGroupBy(boolean value)
-
supportsHaving
@TranslatorProperty(display="Supports HAVING", advanced=true) public boolean supportsHaving()
Description copied from class:ExecutionFactoryWhether the source supports the HAVING clause- Overrides:
supportsHavingin classExecutionFactory<F,C>
-
setSupportsHaving
public void setSupportsHaving(boolean value)
-
supportsInCriteria
@TranslatorProperty(display="Supports IN", advanced=true) public boolean supportsInCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element IN set)- Overrides:
supportsInCriteriain classExecutionFactory<F,C>
-
setSupportsInCriteria
public void setSupportsInCriteria(boolean value)
-
supportsInCriteriaSubquery
@TranslatorProperty(display="Supports IN in Subquery", advanced=true) public boolean supportsInCriteriaSubquery()
Description copied from class:ExecutionFactorySupport indicates connector accepts IN criteria with a subquery on the right side- Overrides:
supportsInCriteriaSubqueryin classExecutionFactory<F,C>
-
setSupportsInCriteriaSubquery
public void setSupportsInCriteriaSubquery(boolean value)
-
supportsInlineViews
@TranslatorProperty(display="Supports Inline Views", advanced=true) public boolean supportsInlineViews()
Description copied from class:ExecutionFactorySupport indicates connector can accept inline views (subqueries in the FROM clause).- Overrides:
supportsInlineViewsin classExecutionFactory<F,C>
-
setSupportsInlineViews
public void setSupportsInlineViews(boolean value)
-
supportsInsertWithQueryExpression
@TranslatorProperty(display="Supports INSERT with Query Expression", advanced=true) public boolean supportsInsertWithQueryExpression()
Description copied from class:ExecutionFactorySupport indicates that the connector can accept INSERTs with values specified by aSetQueryorSelect- Overrides:
supportsInsertWithQueryExpressionin classExecutionFactory<F,C>
-
setSupportsInsertWithQueryExpression
public void setSupportsInsertWithQueryExpression(boolean value)
-
supportsIntersect
@TranslatorProperty(display="Supports INTERSECT", advanced=true) public boolean supportsIntersect()
Description copied from class:ExecutionFactorySupport indicates that the connector supports the INTERSECT of two queries.- Overrides:
supportsIntersectin classExecutionFactory<F,C>
-
setSupportsIntersect
public void setSupportsIntersect(boolean value)
-
supportsIsNullCriteria
@TranslatorProperty(display="Supports ISNULL", advanced=true) public boolean supportsIsNullCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element IS NULL)- Overrides:
supportsIsNullCriteriain classExecutionFactory<F,C>
-
setSupportsIsNullCriteria
public void setSupportsIsNullCriteria(boolean value)
-
supportsLikeCriteria
@TranslatorProperty(display="Supports LIKE", advanced=true) public boolean supportsLikeCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element LIKE constant)- Overrides:
supportsLikeCriteriain classExecutionFactory<F,C>
-
setSupportsLikeCriteria
public void setSupportsLikeCriteria(boolean value)
-
supportsLikeCriteriaEscapeCharacter
@TranslatorProperty(display="Supports Escape Char in LIKE", advanced=true) public boolean supportsLikeCriteriaEscapeCharacter()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element LIKE constant ESCAPE char)- Overrides:
supportsLikeCriteriaEscapeCharacterin classExecutionFactory<F,C>
-
setSupportsLikeCriteriaEscapeCharacter
public void setSupportsLikeCriteriaEscapeCharacter(boolean value)
-
supportsNotCriteria
@TranslatorProperty(display="Supports NOT", advanced=true) public boolean supportsNotCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts logical criteria NOT- Overrides:
supportsNotCriteriain classExecutionFactory<F,C>
-
setSupportsNotCriteria
public void setSupportsNotCriteria(boolean value)
-
supportsOrCriteria
@TranslatorProperty(display="Supports OR", advanced=true) public boolean supportsOrCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts logical criteria connected by OR- Overrides:
supportsOrCriteriain classExecutionFactory<F,C>
-
setSupportsOrCriteria
public void setSupportsOrCriteria(boolean value)
-
supportsOrderByNullOrdering
@TranslatorProperty(display="Supports ORDER BY col NULLS [FIRST|LAST|HIGH|LOW]", advanced=true) public boolean supportsOrderByNullOrdering()
Description copied from class:ExecutionFactoryReturns whether the database supports explicit null ordering.- Overrides:
supportsOrderByNullOrderingin classExecutionFactory<F,C>- Returns:
- true if nulls first/last can be specified
-
setSupportsOrderByNullOrdering
public void setSupportsOrderByNullOrdering(boolean value)
-
supportsOrderByUnrelated
@TranslatorProperty(display="Supports ORDER BY Unrelated", advanced=true) public boolean supportsOrderByUnrelated()
Description copied from class:ExecutionFactorySupport indicates connector accepts ORDER BY clause with columns not from the select- Overrides:
supportsOrderByUnrelatedin classExecutionFactory<F,C>- Returns:
-
setSupportsOrderByUnrelated
public void setSupportsOrderByUnrelated(boolean value)
-
supportsQuantifiedCompareCriteriaAll
@TranslatorProperty(display="Supports ALL", advanced=true) public boolean supportsQuantifiedCompareCriteriaAll()
Description copied from class:ExecutionFactorySupport indicates connector accepts the quantified comparison criteria that use ALL- Overrides:
supportsQuantifiedCompareCriteriaAllin classExecutionFactory<F,C>
-
setSupportsQuantifiedCompareCriteriaAll
public void setSupportsQuantifiedCompareCriteriaAll(boolean value)
-
supportsQuantifiedCompareCriteriaSome
@TranslatorProperty(display="Supports SOME", advanced=true) public boolean supportsQuantifiedCompareCriteriaSome()
Description copied from class:ExecutionFactorySupport indicates connector accepts the quantified comparison criteria that use SOME- Overrides:
supportsQuantifiedCompareCriteriaSomein classExecutionFactory<F,C>
-
setSupportsQuantifiedCompareCriteriaSome
public void setSupportsQuantifiedCompareCriteriaSome(boolean value)
-
supportsRowLimit
@TranslatorProperty(display="Supports LIMIT", advanced=true) public boolean supportsRowLimit()
Description copied from class:ExecutionFactoryGets whether the connector can limit the number of rows returned by a query.- Overrides:
supportsRowLimitin classExecutionFactory<F,C>
-
setSupportsRowLimit
public void setSupportsRowLimit(boolean value)
-
supportsRowOffset
@TranslatorProperty(display="Supports LIMIT OFFSET", advanced=true) public boolean supportsRowOffset()
Description copied from class:ExecutionFactoryGets 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:
supportsRowOffsetin classExecutionFactory<F,C>
-
setSupportsRowOffset
public void setSupportsRowOffset(boolean value)
-
supportsScalarSubqueries
@TranslatorProperty(display="Supports Scalar Sub-Queries", advanced=true) public boolean supportsScalarSubqueries()
Description copied from class:ExecutionFactorySupport indicates connector can accept scalar subqueries in the SELECT, WHERE, and HAVING clauses- Overrides:
supportsScalarSubqueriesin classExecutionFactory<F,C>
-
setSupportsScalarSubqueries
public void setSupportsScalarSubqueries(boolean value)
-
supportsSearchedCaseExpressions
@TranslatorProperty(display="Supports CASE Expression", advanced=true) public boolean supportsSearchedCaseExpressions()
Description copied from class:ExecutionFactorySupport indicates connector can accept queries with searched CASE WHEN criteria ... END- Overrides:
supportsSearchedCaseExpressionsin classExecutionFactory<F,C>
-
setSupportsSearchedCaseExpressions
public void setSupportsSearchedCaseExpressions(boolean value)
-
supportsSelectExpression
@TranslatorProperty(display="Supports SELECT expressions", advanced=true) public boolean supportsSelectExpression()
Description copied from class:ExecutionFactorySupport indicates connector can accept expressions other than element symbols in the SELECT clause. Specific supports for the expression type are still checked.- Overrides:
supportsSelectExpressionin classExecutionFactory<F,C>
-
setSupportsSelectExpression
public void setSupportsSelectExpression(boolean value)
-
supportsSelfJoins
@TranslatorProperty(display="Supports Self JOINS", advanced=true) public boolean supportsSelfJoins()
Description copied from class:ExecutionFactorySupport indicates connector can accept self-joins where a group is joined to itself with aliases. Connector must also supportExecutionFactory.supportsAliasedTable().- Overrides:
supportsSelfJoinsin classExecutionFactory<F,C>
-
setSupportsSelfJoins
public void setSupportsSelfJoins(boolean value)
-
supportsSetQueryOrderBy
@TranslatorProperty(display="Supports Set Query Orderby", advanced=true) public boolean supportsSetQueryOrderBy()
Description copied from class:ExecutionFactorySupport indicates that the connector supports an ORDER BY on a SetQuery.- Overrides:
supportsSetQueryOrderByin classExecutionFactory<F,C>
-
setSupportsSetQueryOrderBy
public void setSupportsSetQueryOrderBy(boolean value)
-
supportsUnions
@TranslatorProperty(display="Supports UNION", advanced=true) public boolean supportsUnions()
Description copied from class:ExecutionFactorySupport indicates that the connector supports the UNION of two queries.- Overrides:
supportsUnionsin classExecutionFactory<F,C>
-
setSupportsUnions
public void setSupportsUnions(boolean value)
-
useAnsiJoin
@TranslatorProperty(display="Supports ANSI Joins", advanced=true) public boolean useAnsiJoin()
Description copied from class:ExecutionFactoryWhether the source prefers to use ANSI style joins.- Overrides:
useAnsiJoinin classExecutionFactory<F,C>
-
setUseAnsiJoin
public void setUseAnsiJoin(boolean value)
-
isCopyLobs
@TranslatorProperty(display="Supports Copy LOBS", advanced=true) public boolean isCopyLobs()
- Overrides:
isCopyLobsin classExecutionFactory<F,C>
-
setCopyLobs
public void setCopyLobs(boolean value)
- Overrides:
setCopyLobsin classExecutionFactory<F,C>
-
supportsArrayAgg
@TranslatorProperty(display="Supports Array Aggregation", advanced=true) public boolean supportsArrayAgg()
- Overrides:
supportsArrayAggin classExecutionFactory<F,C>- Returns:
- true if array_agg is supported
-
setSupportsArrayAgg
public void setSupportsArrayAgg(boolean value)
-
supportsElementaryOlapOperations
@TranslatorProperty(display="Supports OLAP Operations", advanced=true) public boolean supportsElementaryOlapOperations()
- Overrides:
supportsElementaryOlapOperationsin classExecutionFactory<F,C>- Returns:
- true if Elementary OLAP operations are supported including window functions and inline window specifications that include simple expressions in partitioning and ordering
-
setSupportsElementaryOlapOperations
public void setSupportsElementaryOlapOperations(boolean value)
-
supportsWindowFrameClause
@TranslatorProperty(display="Supports Window Frame Clause on a Window Function", advanced=true) public boolean supportsWindowFrameClause()
- Overrides:
supportsWindowFrameClausein classExecutionFactory<F,C>- Returns:
- true if the window frame clause is supported
-
setSupportsWindowFrameClause
public void setSupportsWindowFrameClause(boolean value)
-
supportsFormatLiteral
public boolean supportsFormatLiteral(String literal, ExecutionFactory.Format format)
- Overrides:
supportsFormatLiteralin classExecutionFactory<F,C>- Returns:
- true if the given Java format string is supported
-
supportsLikeRegex
@TranslatorProperty(display="Supports REGEX in LIKE", advanced=true) public boolean supportsLikeRegex()
- Overrides:
supportsLikeRegexin classExecutionFactory<F,C>- Returns:
- true if the LIKE_REGEX predicate is supported
-
setSupportsLikeRegex
public void setSupportsLikeRegex(boolean value)
-
supportsOnlyFormatLiterals
@TranslatorProperty(display="Supports only Format Literals", advanced=true) public boolean supportsOnlyFormatLiterals()
Description copied from class:ExecutionFactory- Overrides:
supportsOnlyFormatLiteralsin classExecutionFactory<F,C>- Returns:
- true if only literal formats are supports.
-
setSupportsOnlyFormatLiterals
public void setSupportsOnlyFormatLiterals(boolean value)
-
supportsOnlySingleTableGroupBy
@TranslatorProperty(display="Supports Single Table GROUP BY", advanced=true) public boolean supportsOnlySingleTableGroupBy()
Description copied from class:ExecutionFactoryWhether the source supports grouping only over a single table- Overrides:
supportsOnlySingleTableGroupByin classExecutionFactory<F,C>- Returns:
-
setSupportsOnlySingleTableGroupBy
public void setSupportsOnlySingleTableGroupBy(boolean value)
-
supportsSimilarTo
@TranslatorProperty(display="Supports SIMILAR TO", advanced=true) public boolean supportsSimilarTo()
- Overrides:
supportsSimilarToin classExecutionFactory<F,C>- Returns:
- true if the SIMILAR TO predicate is supported
-
setSupportsSimilarTo
public void setSupportsSimilarTo(boolean value)
-
supportsWindowDistinctAggregates
@TranslatorProperty(display="Supports Windowed Aggregates", advanced=true) public boolean supportsWindowDistinctAggregates()
- Overrides:
supportsWindowDistinctAggregatesin classExecutionFactory<F,C>- Returns:
- true if distinct aggregates can be windowed function.
-
setSupportsWindowDistinctAggregates
public void setSupportsWindowDistinctAggregates(boolean value)
-
supportsWindowOrderByWithAggregates
@TranslatorProperty(display="Supports Order by With Windowed Aggregates", advanced=true) public boolean supportsWindowOrderByWithAggregates()
- Overrides:
supportsWindowOrderByWithAggregatesin classExecutionFactory<F,C>- Returns:
- true if all aggregates can have window function order by clauses.
-
setSupportsWindowOrderByWithAggregates
public void setSupportsWindowOrderByWithAggregates(boolean value)
-
getMaxInCriteriaSize
public int getMaxInCriteriaSize()
Description copied from class:ExecutionFactoryGet the integer value representing the number of values allowed in an IN criteria in the WHERE clause of a query- Overrides:
getMaxInCriteriaSizein classExecutionFactory<F,C>
-
setMaxInCriteriaSize
public void setMaxInCriteriaSize(int max)
- Overrides:
setMaxInCriteriaSizein classExecutionFactory<F,C>
-
getSupportedJoinCriteria
public ExecutionFactory.SupportedJoinCriteria getSupportedJoinCriteria()
Description copied from class:ExecutionFactoryGet the supported join criteria. A null return value will be treated asExecutionFactory.SupportedJoinCriteria.ANY- Overrides:
getSupportedJoinCriteriain classExecutionFactory<F,C>
-
setSupportedJoinCriteria
public void setSupportedJoinCriteria(ExecutionFactory.SupportedJoinCriteria value)
- Overrides:
setSupportedJoinCriteriain classExecutionFactory<F,C>
-
requiresCriteria
public boolean requiresCriteria()
Description copied from class:ExecutionFactoryWhether the source supports queries without criteria.- Overrides:
requiresCriteriain classExecutionFactory<F,C>
-
setRequiresCriteria
public void setRequiresCriteria(boolean value)
- Overrides:
setRequiresCriteriain classExecutionFactory<F,C>
-
supportsFullOuterJoins
public boolean supportsFullOuterJoins()
Description copied from class:ExecutionFactorySupport indicates connector can accept full outer joins- Overrides:
supportsFullOuterJoinsin classExecutionFactory<F,C>
-
setSupportsFullOuterJoins
public void setSupportsFullOuterJoins(boolean supportsFullOuterJoins)
- Overrides:
setSupportsFullOuterJoinsin classExecutionFactory<F,C>
-
supportsInnerJoins
public boolean supportsInnerJoins()
Description copied from class:ExecutionFactorySupport indicates connector can accept inner or cross joins- Overrides:
supportsInnerJoinsin classExecutionFactory<F,C>
-
setSupportsInnerJoins
public void setSupportsInnerJoins(boolean supportsInnerJoins)
- Overrides:
setSupportsInnerJoinsin classExecutionFactory<F,C>
-
supportsOrderBy
public boolean supportsOrderBy()
Description copied from class:ExecutionFactorySupport indicates connector accepts ORDER BY clause, including multiple elements and ascending and descending sorts.- Overrides:
supportsOrderByin classExecutionFactory<F,C>
-
setSupportsOrderBy
public void setSupportsOrderBy(boolean supportsOrderBy)
- Overrides:
setSupportsOrderByin classExecutionFactory<F,C>
-
supportsOuterJoins
public boolean supportsOuterJoins()
Description copied from class:ExecutionFactorySupport indicates connector can accept left outer joins- Overrides:
supportsOuterJoinsin classExecutionFactory<F,C>
-
setSupportsOuterJoins
public void setSupportsOuterJoins(boolean supportsOuterJoins)
- Overrides:
setSupportsOuterJoinsin classExecutionFactory<F,C>
-
supportsSelectDistinct
public boolean supportsSelectDistinct()
Description copied from class:ExecutionFactorySupport indicates connector can accept queries with SELECT DISTINCT- Overrides:
supportsSelectDistinctin classExecutionFactory<F,C>
-
setSupportsSelectDistinct
public void setSupportsSelectDistinct(boolean supportsSelectDistinct)
- Overrides:
setSupportsSelectDistinctin classExecutionFactory<F,C>
-
getMaxDependentInPredicates
public int getMaxDependentInPredicates()
Description copied from class:ExecutionFactoryGet the integer value representing the max number of dependent IN predicates. This may be used to split a single dependent value via OR, or multiple dependent values via AND.- Overrides:
getMaxDependentInPredicatesin classExecutionFactory<F,C>
-
setMaxDependentInPredicates
public void setMaxDependentInPredicates(int maxDependentInPredicates)
- Overrides:
setMaxDependentInPredicatesin classExecutionFactory<F,C>
-
supportsAdvancedOlapOperations
@TranslatorProperty(display="Supports Advanced OLAP Operations", advanced=true) public boolean supportsAdvancedOlapOperations()
- Overrides:
supportsAdvancedOlapOperationsin classExecutionFactory<F,C>- Returns:
- true if Advanced OLAP operations are supported including the aggregate function filter clause.
-
setSupportsAdvancedOlapOperations
public void setSupportsAdvancedOlapOperations(boolean value)
-
supportsSubqueryInOn
@TranslatorProperty(display="Supports Subquery In ON", advanced=true) public boolean supportsSubqueryInOn()
Description copied from class:ExecutionFactoryRefines subquery support.- Overrides:
supportsSubqueryInOnin classExecutionFactory<F,C>- Returns:
- true if subqueries are supported in the on clause.
-
setSupportsSubqueryInOn
public void setSupportsSubqueryInOn(boolean value)
-
supportsConvert
public boolean supportsConvert(int fromType, int toType)Description copied from class:ExecutionFactoryUsed for fine grained control of convert/cast pushdown. TheExecutionFactory.getSupportedFunctions()should containSourceSystemFunctions.CONVERT. This method can then return false to indicate a lack of specific support. The engine will does not care about an unnecessary conversion where fromType == toType. By default lob conversion is disabled.- Overrides:
supportsConvertin classExecutionFactory<F,C>- Returns:
- true if the given conversion is supported.
- See Also:
TypeFacility.RUNTIME_CODES,TypeFacility.RUNTIME_CODES
-
supportsDependentJoins
@TranslatorProperty(display="Supports Dependent Joins", advanced=true) public boolean supportsDependentJoins()
Description copied from class:ExecutionFactoryNOTE: The pushed independent tuples will not have been converted to a unique set and may contain duplicates.- Overrides:
supportsDependentJoinsin classExecutionFactory<F,C>- Returns:
- true if dependent join key pushdown is supported
-
setSupportsDependentJoins
public void setSupportsDependentJoins(boolean value)
-
supportsOnlyLiteralComparison
@TranslatorProperty(display="Supports Only Literal Comparision", advanced=true) public boolean supportsOnlyLiteralComparison()
- Overrides:
supportsOnlyLiteralComparisonin classExecutionFactory<F,C>- Returns:
- true if only Literal comparisons (equality, ordered, like, etc.) are supported for non-join conditions.
-
setSupportsOnlyLiteralComparison
public void setSupportsOnlyLiteralComparison(boolean value)
-
getCacheDirective
public CacheDirective getCacheDirective(Command command, ExecutionContext executionContext, RuntimeMetadata metadata) throws TranslatorException
Description copied from class:ExecutionFactoryGet theCacheDirectiveto control command caching.Use
CacheDirective.Scope.NONEto indicate to the engine that no caching should be performed by the engine.If cache parameters on the
CacheDirectivewill be changed by theExecution, then a new instance of aCacheDirectiveshould be set each time.- Overrides:
getCacheDirectivein classExecutionFactory<F,C>- Throws:
TranslatorException
-
isSourceRequiredForMetadata
@TranslatorProperty(display="Is Source Required For Metadata", advanced=true) public boolean isSourceRequiredForMetadata()
Description copied from class:ExecutionFactoryFlag that indicates if a underlying source connection required for this execution factory to return metadata- Overrides:
isSourceRequiredForMetadatain classExecutionFactory<F,C>- Returns:
- true if required
-
setSourceRequiredForMetadata
public void setSourceRequiredForMetadata(boolean value)
- Overrides:
setSourceRequiredForMetadatain classExecutionFactory<F,C>
-
isForkable
@TranslatorProperty(display="Is Forkable", description="When forkable the engine may use a separate thread to interact with returned Exection", advanced=true) public boolean isForkable()
Description copied from class:ExecutionFactoryWhen forkable the engine may use a separate thread to interact with returnedExecution.- Overrides:
isForkablein classExecutionFactory<F,C>- Returns:
- true if
Executions can be called in separate threads from the processing thread
-
setForkable
public void setForkable(boolean value)
-
supportsArrayType
@TranslatorProperty(display="Supports Array Type", advanced=true) public boolean supportsArrayType()
Description copied from class:ExecutionFactoryThe engine uses array types for dependent joins and for array expression.- Overrides:
supportsArrayTypein classExecutionFactory<F,C>- Returns:
- true if an array type is supported.
-
setSupportsArrayType
public void setSupportsArrayType(boolean value)
-
getDirectQueryProcedureName
@TranslatorProperty(display="Direct Query Procedure Name", advanced=true) public String getDirectQueryProcedureName()
Description copied from class:ExecutionFactoryDefines the name of the direct processing procedure. This metadata or signature of the procedure is defined automatically.- Overrides:
getDirectQueryProcedureNamein classExecutionFactory<F,C>- Returns:
-
setDirectQueryProcedureName
public void setDirectQueryProcedureName(String name)
- Overrides:
setDirectQueryProcedureNamein classExecutionFactory<F,C>
-
supportsDirectQueryProcedure
public boolean supportsDirectQueryProcedure()
Description copied from class:ExecutionFactoryTrue, if this translator supports execution of source specific commands unaltered through a direct procedure.- Overrides:
supportsDirectQueryProcedurein classExecutionFactory<F,C>- Returns:
-
setSupportsDirectQueryProcedure
public void setSupportsDirectQueryProcedure(boolean value)
- Overrides:
setSupportsDirectQueryProcedurein classExecutionFactory<F,C>
-
createDirectExecution
public ProcedureExecution createDirectExecution(List<Argument> arguments, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, C connection) throws TranslatorException
- Overrides:
createDirectExecutionin classExecutionFactory<F,C>- Throws:
TranslatorException
-
supportsOnlyCorrelatedSubqueries
@TranslatorProperty(display="Supports Correlated Sub Queries", advanced=true) public boolean supportsOnlyCorrelatedSubqueries()
- Overrides:
supportsOnlyCorrelatedSubqueriesin classExecutionFactory<F,C>- Returns:
- true if only correlated subqueries are supported.
-
setSupportsOnlyCorrelatedSubqueries
public void setSupportsOnlyCorrelatedSubqueries(boolean value)
-
isSourceRequiredForCapabilities
@TranslatorProperty(display="Source required for Capabilities", advanced=true) public boolean isSourceRequiredForCapabilities()
Description copied from class:ExecutionFactoryIf true, theExecutionFactory.initCapabilities(Object)method will be consulted prior to determining the capabilities- Overrides:
isSourceRequiredForCapabilitiesin classExecutionFactory<F,C>- Returns:
-
setSourceRequiredForCapabilities
public void setSourceRequiredForCapabilities(boolean value)
-
initCapabilities
public void initCapabilities(C connection) throws TranslatorException
Description copied from class:ExecutionFactoryWill be called byExecutionFactory.start()with a null connection if a source connection is notExecutionFactory.isSourceRequiredForCapabilities()- Overrides:
initCapabilitiesin classExecutionFactory<F,C>- Throws:
TranslatorException
-
supportsStringAgg
@TranslatorProperty(display="Supports STRING_AGG", advanced=true) public boolean supportsStringAgg()
- Overrides:
supportsStringAggin classExecutionFactory<F,C>- Returns:
- true if string_agg is supported
-
setSupportsStringAgg
public void setSupportsStringAgg(boolean value)
-
supportsListAgg
@TranslatorProperty(display="Supports LISTAGG", advanced=true) public boolean supportsListAgg()
- Overrides:
supportsListAggin classExecutionFactory<F,C>- Returns:
- true if the translator supports a simplified string_agg - listagg
-
setSupportsListAgg
public void setSupportsListAgg(boolean value)
-
supportsFullDependentJoins
@TranslatorProperty(display="Supports Full Dependent Joins", advanced=true) public boolean supportsFullDependentJoins()
- Overrides:
supportsFullDependentJoinsin classExecutionFactory<F,C>- Returns:
- true if full dependent join pushdown is supported
-
setSupportsFullDependentJoins
public void setSupportsFullDependentJoins(boolean value)
-
supportsSelectWithoutFrom
@TranslatorProperty(display="Supports SELECT w/o FROM", advanced=true) public boolean supportsSelectWithoutFrom()
- Overrides:
supportsSelectWithoutFromin classExecutionFactory<F,C>- Returns:
- true if the translator support SELECT without a FROM clause
-
setSupportsSelectWithoutFrom
public void setSupportsSelectWithoutFrom(boolean value)
-
supportsGroupByRollup
@TranslatorProperty(display="Supports GROUP BY ROLLUP", advanced=true) public boolean supportsGroupByRollup()
- Overrides:
supportsGroupByRollupin classExecutionFactory<F,C>- Returns:
- true if the translator support GROUP BY ROLLUP
-
setSupportsGroupByRollup
public void setSupportsGroupByRollup(boolean value)
-
supportsOrderByWithExtendedGrouping
@TranslatorProperty(display="Supports Orderby w/extended grouping", advanced=true) public boolean supportsOrderByWithExtendedGrouping()
- Overrides:
supportsOrderByWithExtendedGroupingin classExecutionFactory<F,C>- Returns:
- true if order by is supported over a grouping with a rollup, cube, etc.
-
setSupportsOrderByWithExtendedGrouping
public void setSupportsOrderByWithExtendedGrouping(boolean value)
-
isThreadBound
public boolean isThreadBound()
- Overrides:
isThreadBoundin classExecutionFactory<F,C>- Returns:
- True, if this translator's executions must complete in a single thread.
-
setThreadBound
public void setThreadBound(boolean value)
- Overrides:
setThreadBoundin classExecutionFactory<F,C>
-
getCollationLocale
public String getCollationLocale()
Description copied from class:ExecutionFactoryIndicates the collation used for sorting- Overrides:
getCollationLocalein classExecutionFactory<F,C>
-
setCollationLocale
public void setCollationLocale(String value)
- Overrides:
setCollationLocalein classExecutionFactory<F,C>
-
supportsRecursiveCommonTableExpressions
@TranslatorProperty(display="Supports Recursive Common Table Expresions", advanced=true) public boolean supportsRecursiveCommonTableExpressions()
- Overrides:
supportsRecursiveCommonTableExpressionsin classExecutionFactory<F,C>- Returns:
- true if a recursive WITH clause item is supported
-
setSupportsRecursiveCommonTableExpressions
public void setSupportsRecursiveCommonTableExpressions(boolean value)
-
supportsCompareCriteriaOrderedExclusive
@TranslatorProperty(display="Supports Criteria Ordered Exclusive", advanced=true) public boolean supportsCompareCriteriaOrderedExclusive()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (element <|> constant)- Overrides:
supportsCompareCriteriaOrderedExclusivein classExecutionFactory<F,C>
-
supportsCompareCriteriaOrderedExclusive
@Deprecated public void supportsCompareCriteriaOrderedExclusive(boolean value)
Deprecated.
-
setSupportsCompareCriteriaOrderedExclusive
public void setSupportsCompareCriteriaOrderedExclusive(boolean value)
-
returnsSingleUpdateCount
public boolean returnsSingleUpdateCount()
Description copied from class:ExecutionFactoryTrue if only a single value is returned for the update count. This overrides the default expectation of an update count array for bulk/batch commands. It is expected that every command is successful.- Overrides:
returnsSingleUpdateCountin classExecutionFactory<F,C>- Returns:
-
supportsPartialFiltering
@TranslatorProperty(display="Supports Partial Filtering", advanced=true) public boolean supportsPartialFiltering()
Description copied from class:ExecutionFactoryReturn true if the source has columns marked with the teiid_rel:partial that can return more rows than specified by a filter if the column is also projected. This most closely matches the semantics of ldap queries with multi-valued attributes marked as partial.
When true, the following supports cannot also be true:- supportsOuterJoins()
- supportsFullOuterJoins()
- supportsInlineViews()
- supportsIntersect()
- supportsExcept()
- supportsSelectExpression()
- supportsUnions()
- supportsSelectDistinct()
- supportsGroupBy()
- Overrides:
supportsPartialFilteringin classExecutionFactory<F,C>- Returns:
-
setSupportsPartialFiltering
public void setSupportsPartialFiltering(boolean value)
-
useBindingsForDependentJoin
@TranslatorProperty(display="Use Bindings for Dependent Joins", advanced=true) public boolean useBindingsForDependentJoin()
Description copied from class:ExecutionFactoryIf dependent join predicates should use literals that are marked as bind eligible.- Overrides:
useBindingsForDependentJoinin classExecutionFactory<F,C>
-
setUseBindingsForDependentJoin
public void setUseBindingsForDependentJoin(boolean value)
-
supportsSubqueryCommonTableExpressions
@TranslatorProperty(display="Supports Subquery Common Table Expressions", advanced=true) public boolean supportsSubqueryCommonTableExpressions()
- Overrides:
supportsSubqueryCommonTableExpressionsin classExecutionFactory<F,C>- Returns:
- true if the WITH clause can appear in subqueries
-
setSupportsSubqueryCommonTableExpressions
public void setSupportsSubqueryCommonTableExpressions(boolean value)
-
supportsCorrelatedSubqueryLimit
@TranslatorProperty(display="Supports Correlated Subquery Limit", advanced=true) public boolean supportsCorrelatedSubqueryLimit()
- Overrides:
supportsCorrelatedSubqueryLimitin classExecutionFactory<F,C>- Returns:
- true if a correlated subquery can support a limit clause
-
setSupportsCorrelatedSubqueryLimit
public void setSupportsCorrelatedSubqueryLimit(boolean value)
-
getRequiredLikeEscape
@TranslatorProperty(display="Escape char for LIKE", advanced=true) public Character getRequiredLikeEscape()
Description copied from class:ExecutionFactoryThe required escape character or null if all are supported.- Overrides:
getRequiredLikeEscapein classExecutionFactory<F,C>- Returns:
-
setRequiredLikeEscape
public void setRequiredLikeEscape(Character c)
-
supportsScalarSubqueryProjection
@TranslatorProperty(display="Supports Scalar SubQuery in SELECT", advanced=true) public boolean supportsScalarSubqueryProjection()
Description copied from class:ExecutionFactoryIf a scalar subquery can be projected.- Overrides:
supportsScalarSubqueryProjectionin classExecutionFactory<F,C>- Returns:
-
setSupportsScalarSubqueryProjection
public void setSupportsScalarSubqueryProjection(boolean value)
-
getTransactionSupport
public ExecutionFactory.TransactionSupport getTransactionSupport()
- Overrides:
getTransactionSupportin classExecutionFactory<F,C>
-
setTransactionSupport
public void setTransactionSupport(ExecutionFactory.TransactionSupport transactionSupport)
- Overrides:
setTransactionSupportin classExecutionFactory<F,C>
-
getExcludedCommonTableExpressionName
@TranslatorProperty(display="Excluded Common Table Expression Name", advanced=true) public String getExcludedCommonTableExpressionName()
- Overrides:
getExcludedCommonTableExpressionNamein classExecutionFactory<F,C>
-
setExcludedCommonTableExpressionName
public void setExcludedCommonTableExpressionName(String value)
- Overrides:
setExcludedCommonTableExpressionNamein classExecutionFactory<F,C>
-
supportsLateralJoin
@TranslatorProperty(display="Supports Lateral Join", advanced=true) public boolean supportsLateralJoin()
- Overrides:
supportsLateralJoinin classExecutionFactory<F,C>- Returns:
- true if the source supports lateral join
-
setSupportsLateralJoin
public void setSupportsLateralJoin(boolean value)
-
supportsLateralJoinCondition
@TranslatorProperty(display="Supports Lateral Join Condition", advanced=true) public boolean supportsLateralJoinCondition()
- Overrides:
supportsLateralJoinConditionin classExecutionFactory<F,C>- Returns:
- true if the source supports lateral join conditions
-
setSupportsLateralJoinCondition
public void setSupportsLateralJoinCondition(boolean value)
-
supportsProcedureTable
@TranslatorProperty(display="Supports Procedure Table", advanced=true) public boolean supportsProcedureTable()
- Overrides:
supportsProcedureTablein classExecutionFactory<F,C>- Returns:
-
setSupportsProcedureTable
public void setSupportsProcedureTable(boolean value)
-
supportsGroupByMultipleDistinctAggregates
@TranslatorProperty(display="Supports GROUP By with Multiple DISTINCTS", advanced=true) public boolean supportsGroupByMultipleDistinctAggregates()
Description copied from class:ExecutionFactoryWhether the source supports grouping with multiple distinct aggregates- Overrides:
supportsGroupByMultipleDistinctAggregatesin classExecutionFactory<F,C>- Returns:
-
setSupportsGroupByMultipleDistinctAggregates
public void setSupportsGroupByMultipleDistinctAggregates(boolean value)
-
start
public void start() throws TranslatorExceptionDescription copied from class:ExecutionFactoryInitialize the connector with supplied configuration- Overrides:
startin classExecutionFactory<F,C>- Throws:
TranslatorException
-
supportsUpsert
@TranslatorProperty(display="Supports Upsert", advanced=true) public boolean supportsUpsert()
- Overrides:
supportsUpsertin classExecutionFactory<F,C>- Returns:
- true if the source supports upsert
-
setSupportsUpsert
public void setSupportsUpsert(boolean value)
-
supportsSelectExpressionArrayType
@TranslatorProperty(display="Supports SELECT array type expressions", advanced=true) public boolean supportsSelectExpressionArrayType()
- Overrides:
supportsSelectExpressionArrayTypein classExecutionFactory<F,C>- Returns:
- true if array type expressions can be projected
-
setSupportsSelectExpressionArrayType
public void setSupportsSelectExpressionArrayType(boolean value)
-
supportsSetQueryLimitOffset
@TranslatorProperty(display="Supports SET Query OFFSET/LIMIT", advanced=true) public boolean supportsSetQueryLimitOffset()
Description copied from class:ExecutionFactorySupport indicates that the connector supports an LIMIT/OFFSET on a SetQuery.- Overrides:
supportsSetQueryLimitOffsetin classExecutionFactory<F,C>
-
setSupportsSetQueryLimitOffset
public void setSupportsSetQueryLimitOffset(boolean value)
-
supportsIsDistinctCriteria
@TranslatorProperty(display="Supports IS DISTINCT", advanced=true) public boolean supportsIsDistinctCriteria()
Description copied from class:ExecutionFactorySupport indicates connector accepts criteria of form (exp1 IS DISTINCT exp2)- Overrides:
supportsIsDistinctCriteriain classExecutionFactory<F,C>
-
setSupportsIsDistinctCriteria
public void setSupportsIsDistinctCriteria(boolean value)
-
supportsOnlyLateralJoinProcedure
@TranslatorProperty(display="Supports Only Lateral Join Procedure", advanced=true) public boolean supportsOnlyLateralJoinProcedure()
- Overrides:
supportsOnlyLateralJoinProcedurein classExecutionFactory<F,C>- Returns:
- true if lateral joins are restricted to only procedures / table valued functions
-
setSupportsOnlyLateralJoinProcedure
public void setSupportsOnlyLateralJoinProcedure(boolean supportsOnlyLateralJoinProcedure)
-
supportsOnlyTimestampAddLiteral
@TranslatorProperty(display="Supports Only TimestampAdd literal", advanced=true) public boolean supportsOnlyTimestampAddLiteral()
- Overrides:
supportsOnlyTimestampAddLiteralin classExecutionFactory<F,C>- Returns:
- true if the source supports only timestamp add literals
-
setSupportsOnlyTimestampAddLiteral
public void setSupportsOnlyTimestampAddLiteral(boolean supportsOnlyTimestampAddLiteral)
-
getCachePattern
@TranslatorProperty(display="Cache Pattern", advanced=true) public String getCachePattern()
-
setCachePattern
public void setCachePattern(String cachePattern)
-
getCacheTtl
@TranslatorProperty(display="Cache TTL", advanced=true) public Long getCacheTtl()
-
setCacheTtl
public void setCacheTtl(Long ttl)
-
supportsWindowFunctionNtile
@TranslatorProperty(display="Supports NTILE", advanced=true) public boolean supportsWindowFunctionNtile()
- Overrides:
supportsWindowFunctionNtilein classExecutionFactory<F,C>- Returns:
- true if ntile is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
setSupportsWindowFunctionNtile
public void setSupportsWindowFunctionNtile(boolean supportsNtile)
-
supportsWindowFunctionPercentRank
@TranslatorProperty(display="Supports PERCENT_RANK", advanced=true) public boolean supportsWindowFunctionPercentRank()
- Overrides:
supportsWindowFunctionPercentRankin classExecutionFactory<F,C>- Returns:
- true if percent_rank is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
setSupportsWindowFunctionPercentRank
public void setSupportsWindowFunctionPercentRank(boolean supportsPercentRank)
-
supportsWindowFunctionCumeDist
@TranslatorProperty(display="Supports CUME_DIST", advanced=true) public boolean supportsWindowFunctionCumeDist()
- Overrides:
supportsWindowFunctionCumeDistin classExecutionFactory<F,C>- Returns:
- true if cume_dist is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
setSupportsWindowFunctionCumeDist
public void setSupportsWindowFunctionCumeDist(boolean supportsCumeDist)
-
supportsWindowFunctionNthValue
@TranslatorProperty(display="Supports NTH_VALUE", advanced=true) public boolean supportsWindowFunctionNthValue()
- Overrides:
supportsWindowFunctionNthValuein classExecutionFactory<F,C>- Returns:
- true if nth_value is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
setSupportsWindowFunctionNthValue
public void setSupportsWindowFunctionNthValue(boolean supportsNthValue)
-
supportsMultipleOpenExecutions
public boolean supportsMultipleOpenExecutions()
- Overrides:
supportsMultipleOpenExecutionsin classExecutionFactory<F,C>- Returns:
- true if multiple executions may be open against a single connection at a time
-
setSupportsMultipleOpenStatements
public void setSupportsMultipleOpenStatements(boolean supportsMultipleOpenStatements)
-
supportsAggregatesCountBig
public boolean supportsAggregatesCountBig()
- Overrides:
supportsAggregatesCountBigin classExecutionFactory<F,C>- Returns:
- true if the translator supports a specific count aggregate returning a long value
ExecutionFactory.supportsAggregatesCount()will be consulted by the engine, this capability only affects the name of the pushed count function if a long value is expected
-
setSupportsAggregatesCountBig
public void setSupportsAggregatesCountBig(boolean supportsAggregatesCountBig)
-
supportsGeographyType
public boolean supportsGeographyType()
Description copied from class:ExecutionFactoryIf the geography type is supported by the standard ST_ geospatial functions- Overrides:
supportsGeographyTypein classExecutionFactory<F,C>- Returns:
- true if the translator supports the geography type
-
setSupportsGeographyType
public void setSupportsGeographyType(boolean supportsGeographyType)
-
supportsProcedureParameterExpression
public boolean supportsProcedureParameterExpression()
Description copied from class:ExecutionFactoryReturn true if the translator supports expressions as procedure paramters.- Overrides:
supportsProcedureParameterExpressionin classExecutionFactory<F,C>- Returns:
-
setSupportsProcedureParameterExpression
public void setSupportsProcedureParameterExpression(Boolean supportsProcedureParameterExpression)
-
-