org.teiid.translator.jdbc.mm
Class MetaMatrixExecutionFactory
java.lang.Object
org.teiid.translator.ExecutionFactory<DataSource,Connection>
org.teiid.translator.jdbc.JDBCExecutionFactory
org.teiid.translator.jdbc.mm.MetaMatrixExecutionFactory
@Translator(name="metamatrix",
description="A translator for MetaMatrix 5.5 or later")
public class MetaMatrixExecutionFactory
- extends JDBCExecutionFactory
Capabilities compatible with MM 5.5.x
Method Summary |
ExecutionFactory.NullOrder |
getDefaultNullOrder()
Returns the default null ordering |
List<String> |
getSupportedFunctions()
Get list of all supported function names. |
void |
start()
Initialize the connector with supplied configuration |
boolean |
supportsFunctionsInGroupBy()
Support indicates that the connector supports non-column expressions in GROUP BY, such as:
SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate) |
boolean |
supportsInlineViews()
Support indicates connector can accept inline views (subqueries
in the FROM clause). |
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 |
Methods inherited from class org.teiid.translator.jdbc.JDBCExecutionFactory |
addSourceComment, afterInitialConnectionObtained, bindValue, closeConnection, createDirectExecution, createMetadataProcessor, createProcedureExecution, createResultSetExecution, createUpdateExecution, executeStoredProcedure, formatDateValue, getConnection, getDatabaseCalendar, getDatabaseTimeZone, getDatabaseVersion, getDefaultSupportedFunctions, getFunctionModifiers, getLikeRegexString, getMaxPreparedInsertBatchSize, getMetadata, getSetOperationString, getSourceComment, getSQLConversionVisitor, getTimestampNanoPrecision, hasTimeType, isSourceRequired, isTrimStrings, obtainedConnection, parseName, registerFunctionModifier, registerSpecificTypeOfOutParameter, replaceElementName, retrieveValue, retrieveValue, setDatabaseTimeZone, setDatabaseVersion, setFetchSize, setMaxPreparedInsertBatchSize, setTrimStrings, setUseBindVariables, setUseCommentsInSourceQuery, supportsAggregatesAvg, supportsAggregatesCount, supportsAggregatesCountStar, supportsAggregatesDistinct, supportsAggregatesMax, supportsAggregatesMin, supportsAggregatesSum, supportsAliasedTable, supportsBatchedUpdates, supportsBulkUpdate, supportsCompareCriteriaEquals, supportsCompareCriteriaOrdered, supportsCorrelatedSubqueries, supportsExistsCriteria, supportsGeneratedKeys, supportsGroupBy, supportsHaving, supportsInCriteria, supportsInCriteriaSubquery, supportsInsertWithQueryExpression, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsNotCriteria, supportsOrCriteria, supportsOrderByUnrelated, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsScalarSubqueries, supportsSearchedCaseExpressions, supportsSelectExpression, supportsSelfJoins, supportsSetQueryOrderBy, supportsUnions, translate, translateCommand, translateLimit, translateLiteralBoolean, translateLiteralDate, translateLiteralTime, translateLiteralTimestamp, useAsInGroupAlias, useBindVariables, useCommentsInSourceQuery, useParensForJoins, useParensForSetQueries, usePreparedStatements, useSelectLimit, useStreamsForLobs |
Methods inherited from class org.teiid.translator.ExecutionFactory |
addPushDownFunction, areLobsUsableAfterClose, createExecution, getCacheDirective, getConnection, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxFromGroups, getMaxInCriteriaSize, getNativeQueryProcedureName, getPushDownFunctions, getSupportedJoinCriteria, getTypeFacility, isCopyLobs, isForkable, isImmutable, isSourceRequiredForMetadata, requiresCriteria, setCopyLobs, setImmutable, setMaxDependentInPredicates, setMaxInCriteriaSize, setNativeQueryProcedureName, setRequiresCriteria, setSourceRequired, setSourceRequiredForMetadata, setSupportedJoinCriteria, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsNativeQueries, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, supportsAdvancedOlapOperations, supportsAggregatesEnhancedNumeric, supportsArrayAgg, supportsArrayType, supportsCommonTableExpressions, supportsConvert, supportsDependentJoins, supportsElementaryOlapOperations, supportsExcept, supportsFormatLiteral, supportsFullOuterJoins, supportsInnerJoins, supportsIntersect, supportsLikeRegex, supportsNativeQueries, supportsOnlyCorrelatedSubqueries, supportsOnlyFormatLiterals, supportsOnlyLiteralComparison, supportsOnlySingleTableGroupBy, supportsOrderBy, supportsOrderByNullOrdering, supportsOuterJoins, supportsSelectDistinct, supportsSimilarTo, supportsSubqueryInOn, supportsWindowDistinctAggregates, supportsWindowOrderByWithAggregates, useAnsiJoin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaMatrixExecutionFactory
public MetaMatrixExecutionFactory()
start
public void start()
throws TranslatorException
- Description copied from class:
ExecutionFactory
- Initialize the connector with supplied configuration
- Overrides:
start
in class JDBCExecutionFactory
- Throws:
TranslatorException
getSupportedFunctions
public List<String> getSupportedFunctions()
- Description copied from class:
ExecutionFactory
- Get list of all supported function names. Arithmetic functions have names like
"+".
- Overrides:
getSupportedFunctions
in class JDBCExecutionFactory
- 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.
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 JDBCExecutionFactory
supportsFunctionsInGroupBy
public boolean supportsFunctionsInGroupBy()
- Description copied from class:
ExecutionFactory
Support indicates that the connector supports non-column expressions in GROUP BY, such as:
SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)
- Overrides:
supportsFunctionsInGroupBy
in class ExecutionFactory<DataSource,Connection>
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<DataSource,Connection>
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<DataSource,Connection>
getDefaultNullOrder
public ExecutionFactory.NullOrder getDefaultNullOrder()
- Description copied from class:
ExecutionFactory
- Returns the default null ordering
- Overrides:
getDefaultNullOrder
in class JDBCExecutionFactory
- Returns:
- the
ExecutionFactory.NullOrder
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.