@Translator(name="modeshape",
description="A translator for the open source Modeshape JCR Repository")
public class ModeShapeExecutionFactory
extends JDBCExecutionFactory
JDBCExecutionFactory.StructRetrievalDEFAULT_MAX_DEPENDENT_PREDICATES, DEFAULT_MAX_IN_CRITERIA, DEFAULT_TIME_ZONE, dialect| Constructor and Description |
|---|
ModeShapeExecutionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected JDBCMetadataProcessor |
createMetadataProcessor()
Deprecated.
|
org.teiid.translator.MetadataProcessor<Connection> |
getMetadataProcessor() |
List<String> |
getSupportedFunctions() |
void |
start() |
boolean |
supportsAggregatesAvg() |
boolean |
supportsAggregatesCount() |
boolean |
supportsAggregatesCountStar() |
boolean |
supportsAggregatesEnhancedNumeric() |
boolean |
supportsAggregatesMax() |
boolean |
supportsAggregatesMin() |
boolean |
supportsAggregatesSum() |
boolean |
supportsCorrelatedSubqueries() |
boolean |
supportsExcept() |
boolean |
supportsExistsCriteria() |
boolean |
supportsGroupBy() |
boolean |
supportsHaving() |
boolean |
supportsInCriteriaSubquery() |
boolean |
supportsInlineViews() |
boolean |
supportsIntersect() |
boolean |
supportsOrderByNullOrdering() |
boolean |
supportsQuantifiedCompareCriteriaAll() |
boolean |
supportsQuantifiedCompareCriteriaSome() |
boolean |
supportsScalarSubqueries() |
boolean |
supportsSearchedCaseExpressions() |
boolean |
supportsSelectExpression() |
boolean |
supportsSetQueryOrderBy() |
List<?> |
translate(org.teiid.language.LanguageObject obj,
org.teiid.translator.ExecutionContext context)
Return a List of translated parts (
LanguageObjects and Objects), or null
if to rely on the default translation. |
List<?> |
translateCommand(org.teiid.language.Command command,
org.teiid.translator.ExecutionContext context)
Return a List of translated parts (
LanguageObjects and Objects), or null
if to rely on the default translation. |
String |
translateLiteralBoolean(Boolean booleanValue)
Subclasses should override this method to provide a different sql translation
of the literal boolean value.
|
String |
translateLiteralDate(Date dateValue)
Subclasses should override this method to provide a different sql translation
of the literal date value.
|
String |
translateLiteralTime(Time timeValue)
Subclasses should override this method to provide a different sql translation
of the literal time value.
|
String |
translateLiteralTimestamp(Timestamp timestampValue)
Subclasses should override this method to provide a different sql translation
of the literal timestamp value.
|
boolean |
useAnsiJoin()
TEIID-3102 - ModeShape requires the use of JOIN, and not ',' when joining tables.
|
boolean |
useBindVariables() |
addSourceComment, afterInitialConnectionObtained, bindValue, closeConnection, convertObject, createDirectExecution, createProcedureExecution, createResultSetExecution, createTempTable, createUpdateExecution, executeStoredProcedure, formatDateValue, formatDateValue, getCommentFormat, getConnection, getCreateTemporaryTablePostfix, getCreateTemporaryTableString, getCreateTempTableSQL, getDatabaseCalendar, getDatabaseTimeZone, getDatabaseVersion, getDefaultNullOrder, getDefaultSupportedFunctions, getDialect, getFunctionModifiers, getHibernateDialectClassName, getLateralKeyword, getLikeRegexString, getMaxPreparedInsertBatchSize, getMetadata, getSetOperationString, getSourceComment, getSQLConversionVisitor, getStructRetrieval, getTemporaryTableName, getTimestampNanoPrecision, getVersion, hasTimeType, initCapabilities, intializeConnectionAfterCancel, isEnableDependentJoins, isNonAscii, isNonAsciiFunction, isSourceRequired, isSourceRequiredForCapabilities, isTrimStrings, loadedTemporaryTable, obtainedConnection, parseName, registerFunctionModifier, registerSpecificTypeOfOutParameter, replaceElementName, retrieveGeometryValue, retrieveGeometryValue, retrieveValue, retrieveValue, setCommentFormat, setDatabaseTimeZone, setDatabaseVersion, setDatabaseVersion, setEnableDependentJoins, setFetchSize, setMaxPreparedInsertBatchSize, setStructRetrieval, setTrimStrings, setUseBindingsForDependentJoin, setUseBindVariables, setUseCommentsInSourceQuery, supportsAggregatesDistinct, supportsAliasedTable, supportsBatchedUpdates, supportsBooleanExpressions, supportsBulkUpdate, supportsCompareCriteriaEquals, supportsCompareCriteriaOrdered, supportsDependentJoins, supportsFullDependentJoins, supportsGeneratedKeys, supportsGeneratedKeys, supportsInCriteria, supportsInsertWithQueryExpression, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsNotCriteria, supportsOrCriteria, supportsOrderByUnrelated, supportsSelfJoins, supportsUnions, tempTableRequiresTransaction, translateGeometryLiteral, translateGeometryParameter, translateGeometrySelect, translateLimit, translateLiteralBinaryType, useAsInGroupAlias, useBindingsForDependentJoin, useColumnNamesForGeneratedKeys, useCommentsInSourceQuery, useParensForJoins, useParensForSetQueries, usePreparedStatements, useScientificNotation, usesDatabaseVersion, useSelectLimit, useStreamsForLobs, useUnicodePrefix, useWithRollupaddPushDownFunction, areLobsUsableAfterClose, createExecution, getCacheDirective, getCollationLocale, getConnection, getDirectQueryProcedureName, getExcludedCommonTableExpressionName, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxFromGroups, getMaxInCriteriaSize, getNativeQueryProcedureName, getPushDownFunctions, getRequiredLikeEscape, getSupportedJoinCriteria, getTransactionSupport, getTypeFacility, isCopyLobs, isForkable, isImmutable, isSourceRequiredForMetadata, isThreadBound, requiresCriteria, returnsSingleUpdateCount, setCollationLocale, setCopyLobs, setDirectQueryProcedureName, setExcludedCommonTableExpressionName, setImmutable, setMaxDependentInPredicates, setMaxInCriteriaSize, setNativeQueryProcedureName, setRequiresCriteria, setSourceRequired, setSourceRequiredForMetadata, setSupportedJoinCriteria, setSupportsDirectQueryProcedure, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsNativeQueries, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, setThreadBound, setTransactionSupport, supportsAdvancedOlapOperations, supportsArrayAgg, supportsArrayType, supportsCommonTableExpressions, supportsCompareCriteriaOrderedExclusive, supportsConvert, supportsCorrelatedSubqueryLimit, supportsDirectQueryProcedure, supportsElementaryOlapOperations, supportsFormatLiteral, supportsFullOuterJoins, supportsFunctionsInGroupBy, supportsGroupByMultipleDistinctAggregates, supportsGroupByRollup, supportsInnerJoins, supportsIsDistinctCriteria, supportsLateralJoin, supportsLateralJoinCondition, supportsLikeRegex, supportsNativeQueries, supportsOnlyCorrelatedSubqueries, supportsOnlyFormatLiterals, supportsOnlyLiteralComparison, supportsOnlySingleTableGroupBy, supportsOrderBy, supportsOrderByWithExtendedGrouping, supportsOuterJoins, supportsPartialFiltering, supportsProcedureTable, supportsRecursiveCommonTableExpressions, supportsRowLimit, supportsRowOffset, supportsScalarSubqueryProjection, supportsSelectDistinct, supportsSelectExpressionArrayType, supportsSelectWithoutFrom, supportsSetQueryLimitOffset, supportsSimilarTo, supportsStringAgg, supportsSubqueryCommonTableExpressions, supportsSubqueryInOn, supportsUpsert, supportsWindowDistinctAggregates, supportsWindowOrderByWithAggregatespublic void start()
throws org.teiid.translator.TranslatorException
start in class JDBCExecutionFactoryorg.teiid.translator.TranslatorExceptionpublic String translateLiteralDate(Date dateValue)
JDBCExecutionFactory{d '2002-12-31'}translateLiteralDate in class JDBCExecutionFactorydateValue - Date value, never nullpublic String translateLiteralTime(Time timeValue)
JDBCExecutionFactory{t '23:59:59'}
See JDBCExecutionFactory.hasTimeType() to represent literal times as timestamps.translateLiteralTime in class JDBCExecutionFactorytimeValue - Time value, never nullpublic String translateLiteralTimestamp(Timestamp timestampValue)
JDBCExecutionFactory{ts '2002-12-31 23:59:59'}.
See JDBCExecutionFactory.getTimestampNanoPrecision() to control the literal
precision.translateLiteralTimestamp in class JDBCExecutionFactorytimestampValue - Timestamp value, never nullpublic String translateLiteralBoolean(Boolean booleanValue)
JDBCExecutionFactory'0' or '1'.translateLiteralBoolean in class JDBCExecutionFactorybooleanValue - Boolean value, never nullpublic List<String> getSupportedFunctions()
getSupportedFunctions in class JDBCExecutionFactorypublic List<?> translate(org.teiid.language.LanguageObject obj, org.teiid.translator.ExecutionContext context)
JDBCExecutionFactoryLanguageObjects and Objects), or null
if to rely on the default translation. Override with care.translate in class JDBCExecutionFactorypublic boolean useBindVariables()
useBindVariables in class JDBCExecutionFactorypublic boolean supportsAggregatesAvg()
supportsAggregatesAvg in class JDBCExecutionFactorypublic boolean supportsAggregatesCountStar()
supportsAggregatesCountStar in class JDBCExecutionFactorypublic boolean supportsAggregatesCount()
supportsAggregatesCount in class JDBCExecutionFactorypublic boolean supportsAggregatesEnhancedNumeric()
supportsAggregatesEnhancedNumeric in class org.teiid.translator.ExecutionFactory<DataSource,Connection>public boolean supportsAggregatesMax()
supportsAggregatesMax in class JDBCExecutionFactorypublic boolean supportsAggregatesMin()
supportsAggregatesMin in class JDBCExecutionFactorypublic boolean supportsAggregatesSum()
supportsAggregatesSum in class JDBCExecutionFactorypublic boolean supportsGroupBy()
supportsGroupBy in class JDBCExecutionFactorypublic boolean supportsHaving()
supportsHaving in class JDBCExecutionFactorypublic boolean supportsSelectExpression()
supportsSelectExpression in class JDBCExecutionFactorypublic boolean supportsCorrelatedSubqueries()
supportsCorrelatedSubqueries in class JDBCExecutionFactorypublic boolean supportsExistsCriteria()
supportsExistsCriteria in class JDBCExecutionFactorypublic boolean supportsInCriteriaSubquery()
supportsInCriteriaSubquery in class JDBCExecutionFactorypublic boolean supportsInlineViews()
supportsInlineViews in class JDBCExecutionFactorypublic boolean supportsOrderByNullOrdering()
supportsOrderByNullOrdering in class org.teiid.translator.ExecutionFactory<DataSource,Connection>public boolean supportsQuantifiedCompareCriteriaAll()
supportsQuantifiedCompareCriteriaAll in class JDBCExecutionFactorypublic boolean supportsQuantifiedCompareCriteriaSome()
supportsQuantifiedCompareCriteriaSome in class JDBCExecutionFactorypublic boolean supportsScalarSubqueries()
supportsScalarSubqueries in class JDBCExecutionFactorypublic boolean supportsSearchedCaseExpressions()
supportsSearchedCaseExpressions in class JDBCExecutionFactorypublic boolean supportsExcept()
supportsExcept in class org.teiid.translator.ExecutionFactory<DataSource,Connection>public boolean supportsIntersect()
supportsIntersect in class org.teiid.translator.ExecutionFactory<DataSource,Connection>public boolean supportsSetQueryOrderBy()
supportsSetQueryOrderBy in class JDBCExecutionFactory@Deprecated protected JDBCMetadataProcessor createMetadataProcessor()
createMetadataProcessor in class JDBCExecutionFactorygetMetadataProcessorpublic org.teiid.translator.MetadataProcessor<Connection> getMetadataProcessor()
getMetadataProcessor in class JDBCExecutionFactorypublic boolean useAnsiJoin()
useAnsiJoin in class org.teiid.translator.ExecutionFactory<DataSource,Connection>ExecutionFactory.useAnsiJoin()public List<?> translateCommand(org.teiid.language.Command command, org.teiid.translator.ExecutionContext context)
JDBCExecutionFactoryLanguageObjects and Objects), or null
if to rely on the default translation.translateCommand in class JDBCExecutionFactoryCopyright © 2018 JBoss by Red Hat. All rights reserved.