此内容没有您所选择的语言版本。
10.3. Available Capabilities
The following table lists the capabilities that can be specified in the
ExecutionFactory
class.
Capability
|
Requires
|
Description
|
---|---|---|
SelectDistinct
| |
Translator can support SELECT DISTINCT in queries.
|
SelectExpression
| |
Translator can support SELECT of more than column references.
|
AliasedTable
| |
Translator can support Tables in the FROM clause that have an alias.
|
InnerJoins
| |
Translator can support inner and cross joins
|
SelfJoins
|
AliasedGroups and at least on of the join type supports.
|
Translator can support a self join between two aliased versions of the same Table.
|
OuterJoins
| |
Translator can support LEFT and RIGHT OUTER JOIN.
|
FullOuterJoins
| |
Translator can support FULL OUTER JOIN.
|
DependentJoins
|
Base join and criteria support
|
Translator supports key set dependent join pushdown (see Section 9.2, “Dependent Join Pushdown”). When set, the MaxDependentInPredicates and MaxInCriteriaSize values are not used by the engine, rather all independent values are made available to the pushdown command.
|
SubqueryInOn
|
Join and base subquery support, such as ExistsCriteria
|
Translator can support subqueries in the ON clause. Defaults to true.
|
InlineViews
|
AliasedTable
|
Translator can support a named subquery in the FROM clause.
|
BetweenCriteria
| |
Not currently used - between criteria is rewritten as compound comparisons.
|
CompareCriteriaEquals
| |
Translator can support comparison criteria with the operator "=".
|
CompareCriteriaOrdered
| |
Translator can support comparison criteria with the operator ">" or "<".
|
LikeCriteria
| |
Translator can support LIKE criteria.
|
LikeCriteriaEscapeCharacter
|
LikeCriteria
|
Translator can support LIKE criteria with an ESCAPE character clause.
|
SimilarTo
| |
Translator can support SIMILAR TO criteria.
|
LikeRegexCriteria
| |
Translator can support LIKE_REGEX criteria.
|
InCriteria
|
MaxInCriteria
|
Translator can support IN predicate criteria.
|
InCriteriaSubquery
| |
Translator can support IN predicate criteria where values are supplied by a subquery.
|
IsNullCriteria
| |
Translator can support IS NULL predicate criteria.
|
OrCriteria
| |
Translator can support the OR logical criteria.
|
NotCriteria
| |
Translator can support the NOT logical criteria. IMPORTANT: This capability also applies to negation of predicates, such as specifying IS NOT NULL, "<=" (not ">"), ">=" (not "<"), etc.
|
ExistsCriteria
| |
Translator can support EXISTS predicate criteria.
|
QuantifiedCompareCriteriaAll
| |
Translator can support a quantified comparison criteria using the ALL quantifier.
|
QuantifiedCompareCriteriaSome
| |
Translator can support a quantified comparison criteria using the SOME or ANY quantifier.
|
OnlyLiteralComparison
| |
Translator if only Literal comparisons (equality, ordered, like, etc.) are supported for non-join conditions.
|
Convert(int fromType, int toType)
| |
Used for fine grained control of convert/cast pushdown. The
ExecutionFactory.getSupportedFunctions() should contain SourceSystemFunctions.CONVERT . This method can then return false to indicate a lack of specific support. See TypeFacility.RUNTIME_CODES for the possible type codes. The engine will does not care about an unnecessary conversion where fromType == toType. By default lob conversion is disabled.
|
OrderBy
| |
Translator can support the ORDER BY clause in queries.
|
OrderByUnrelated
|
OrderBy
|
Translator can support ORDER BY items that are not directly specified in the select clause.
|
OrderByNullOrdering
|
OrderBy
|
Translator can support ORDER BY items with NULLS FIRST/LAST.
|
GroupBy
| |
Translator can support an explicit GROUP BY clause.
|
Having
|
GroupBy
|
Translator can support the HAVING clause.
|
AggregatesAvg
| |
Translator can support the AVG aggregate function.
|
AggregatesCount
| |
Translator can support the COUNT aggregate function.
|
AggregatesCountStar
| |
Translator can support the COUNT(*) aggregate function.
|
AggregatesDistinct
|
At least one of the aggregate functions.
|
Translator can support the keyword DISTINCT inside an aggregate function. This keyword indicates that duplicate values within a group of rows will be ignored.
|
AggregatesMax
| |
Translator can support the MAX aggregate function.
|
AggregatesMin
| |
Translator can support the MIN aggregate function.
|
AggregatesSum
| |
Translator can support the SUM aggregate function.
|
AggregatesEnhancedNumeric
| |
Translator can support the VAR_SAMP, VAR_POP, STDDEV_SAMP, STDDEV_POP aggregate functions.
|
ScalarSubqueries
| |
Translator can support the use of a subquery in a scalar context (wherever an expression is valid).
|
CorrelatedSubqueries
|
At least one of the subquery pushdown capabilities.
|
Translator can support a correlated subquery that refers to an element in the outer query.
|
CaseExpressions
| |
Not currently used - simple case is rewritten as searched case.
|
SearchedCaseExpressions
| |
Translator can support "searched" CASE expressions anywhere that expressions are accepted.
|
Unions
| |
Translator support UNION and UNION ALL
|
Intersect
| |
Translator supports INTERSECT
|
Except
| |
Translator supports Except
|
SetQueryOrderBy
|
Unions, Intersect, or Except
|
Translator supports set queries with an ORDER BY
|
RowLimit
| |
Translator can support the limit portion of the limit clause
|
RowOffset
| |
Translator can support the offset portion of the limit clause
|
FunctionsInGroupBy
|
GroupBy
|
Translator can support non-column reference grouping expressions.
|
InsertWithQueryExpression
| |
Translator supports INSERT statements with values specified by a QueryExpression.
|
BatchedUpdates
| |
Translator supports a batch of INSERT, UPDATE and DELETE commands to be executed together.
|
BulkUpdate
| |
Translator supports updates with multiple value sets
|
CommonTableExpressions
| |
Translator supports the WITH clause.
|
ElementaryOlapOperations
| |
Translator supports window functions and analytic functions RANK, DENSE_RANK, and ROW_NUMBER.
|
WindowOrderByWithAggregates
|
ElementaryOlapOperations
|
Translator supports windowed aggregates with a window order by clause.
|
WindowDistinctAggregates
|
ElementaryOlapOperations, AggregatesDistinct
|
Translator supports windowed distinct aggregates.
|
AdvancedOlapOperations
|
ElementaryOlapOperations
|
Translator supports aggregate conditions.
|
OnlyFormatLiterals
|
function support for a parse/format function and an implementation of the supportsFormatLiteral method.
|
Translator supports only literal format patterns that must be validated by the supportsFormatLiteral method
|
FormatLiteral(String literal, Format type)
|
OnlyFormatLiterals
|
Translator supports the given literal format string.
|
ArrayType
| |
Translator supports the push down of array values.
|
OnlyCorrelatedSubqueries
|
CorrelatedSubqueries
|
Translator ONLY supports correlated subqueries. Uncorrelated scalar and exists subqueries will be pre-evaluated prior to push-down.
|
SelectWithoutFrom
|
SelectExpressions
|
Translator supports selecting values without a FROM clause, such as SELECT 1.
|
Note
Note that any pushdown subquery must itself be compliant with the Translator capabilities.