@Translator(name="jpa2",
description="A translator for JPA2 based entities")
public class JPA2ExecutionFactory
extends org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>
| Constructor and Description |
|---|
JPA2ExecutionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(javax.persistence.EntityManager connection,
javax.persistence.EntityManagerFactory factory) |
org.teiid.translator.ProcedureExecution |
createDirectExecution(List<org.teiid.language.Argument> arguments,
org.teiid.language.Command command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection) |
org.teiid.translator.ProcedureExecution |
createProcedureExecution(org.teiid.language.Call command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection) |
org.teiid.translator.ResultSetExecution |
createResultSetExecution(org.teiid.language.QueryExpression command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection) |
org.teiid.translator.UpdateExecution |
createUpdateExecution(org.teiid.language.Command command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection) |
javax.persistence.EntityManager |
getConnection(javax.persistence.EntityManagerFactory factory,
org.teiid.translator.ExecutionContext executionContext) |
List<String> |
getDefaultSupportedFunctions() |
Map<String,org.teiid.translator.jdbc.FunctionModifier> |
getFunctionModifiers()
Return a map of function name to FunctionModifier.
|
org.teiid.translator.MetadataProcessor<javax.persistence.EntityManager> |
getMetadataProcessor() |
List<String> |
getSupportedFunctions() |
void |
registerFunctionModifier(String name,
org.teiid.translator.jdbc.FunctionModifier modifier)
Add the
FunctionModifier to the set of known modifiers. |
void |
start() |
boolean |
supportsAggregatesAvg() |
boolean |
supportsAggregatesCount() |
boolean |
supportsAggregatesCountStar() |
boolean |
supportsAggregatesDistinct() |
boolean |
supportsAggregatesMax() |
boolean |
supportsAggregatesMin() |
boolean |
supportsAggregatesSum() |
boolean |
supportsAliasedTable() |
boolean |
supportsCompareCriteriaEquals() |
boolean |
supportsCompareCriteriaOrdered() |
boolean |
supportsDependentJoins() |
boolean |
supportsExistsCriteria() |
boolean |
supportsGroupBy() |
boolean |
supportsHaving() |
boolean |
supportsInCriteria() |
boolean |
supportsInCriteriaSubquery() |
boolean |
supportsInlineViews() |
boolean |
supportsIsNullCriteria() |
boolean |
supportsLikeCriteria() |
boolean |
supportsNotCriteria() |
boolean |
supportsOrCriteria() |
boolean |
supportsScalarSubqueries() |
boolean |
supportsSelectExpression() |
boolean |
supportsSelfJoins() |
boolean |
useAnsiJoin() |
addPushDownFunction, areLobsUsableAfterClose, createExecution, getCacheDirective, getCollationLocale, getConnection, getDefaultNullOrder, getDirectQueryProcedureName, getExcludedCommonTableExpressionName, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxFromGroups, getMaxInCriteriaSize, getMetadata, getNativeQueryProcedureName, getPushDownFunctions, getRequiredLikeEscape, getSupportedJoinCriteria, getTransactionSupport, getTypeFacility, initCapabilities, isCopyLobs, isForkable, isImmutable, isSourceRequired, isSourceRequiredForCapabilities, 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, supportsAggregatesEnhancedNumeric, supportsArrayAgg, supportsArrayType, supportsBatchedUpdates, supportsBulkUpdate, supportsCommonTableExpressions, supportsCompareCriteriaOrderedExclusive, supportsConvert, supportsCorrelatedSubqueries, supportsCorrelatedSubqueryLimit, supportsDirectQueryProcedure, supportsElementaryOlapOperations, supportsExcept, supportsFormatLiteral, supportsFullDependentJoins, supportsFullOuterJoins, supportsFunctionsInGroupBy, supportsGroupByMultipleDistinctAggregates, supportsGroupByRollup, supportsInnerJoins, supportsInsertWithQueryExpression, supportsIntersect, supportsIsDistinctCriteria, supportsLateralJoin, supportsLateralJoinCondition, supportsLikeCriteriaEscapeCharacter, supportsLikeRegex, supportsNativeQueries, supportsOnlyCorrelatedSubqueries, supportsOnlyFormatLiterals, supportsOnlyLateralJoinProcedure, supportsOnlyLiteralComparison, supportsOnlySingleTableGroupBy, supportsOnlyTimestampAddLiteral, supportsOrderBy, supportsOrderByNullOrdering, supportsOrderByUnrelated, supportsOrderByWithExtendedGrouping, supportsOuterJoins, supportsPartialFiltering, supportsProcedureTable, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsRecursiveCommonTableExpressions, supportsRowLimit, supportsRowOffset, supportsScalarSubqueryProjection, supportsSearchedCaseExpressions, supportsSelectDistinct, supportsSelectExpressionArrayType, supportsSelectWithoutFrom, supportsSetQueryLimitOffset, supportsSetQueryOrderBy, supportsSimilarTo, supportsStringAgg, supportsSubqueryCommonTableExpressions, supportsSubqueryInOn, supportsUnions, supportsUpsert, supportsWindowDistinctAggregates, supportsWindowOrderByWithAggregates, useBindingsForDependentJoinpublic void start()
throws org.teiid.translator.TranslatorException
start in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>org.teiid.translator.TranslatorExceptionpublic javax.persistence.EntityManager getConnection(javax.persistence.EntityManagerFactory factory,
org.teiid.translator.ExecutionContext executionContext)
throws org.teiid.translator.TranslatorException
getConnection in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>org.teiid.translator.TranslatorExceptionpublic void closeConnection(javax.persistence.EntityManager connection,
javax.persistence.EntityManagerFactory factory)
closeConnection in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public org.teiid.translator.ResultSetExecution createResultSetExecution(org.teiid.language.QueryExpression command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection)
throws org.teiid.translator.TranslatorException
createResultSetExecution in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>org.teiid.translator.TranslatorExceptionpublic org.teiid.translator.ProcedureExecution createProcedureExecution(org.teiid.language.Call command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection)
throws org.teiid.translator.TranslatorException
createProcedureExecution in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>org.teiid.translator.TranslatorExceptionpublic org.teiid.translator.UpdateExecution createUpdateExecution(org.teiid.language.Command command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
javax.persistence.EntityManager connection)
throws org.teiid.translator.TranslatorException
createUpdateExecution in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>org.teiid.translator.TranslatorExceptionpublic org.teiid.translator.ProcedureExecution createDirectExecution(List<org.teiid.language.Argument> arguments, org.teiid.language.Command command, org.teiid.translator.ExecutionContext executionContext, org.teiid.metadata.RuntimeMetadata metadata, javax.persistence.EntityManager connection) throws org.teiid.translator.TranslatorException
createDirectExecution in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>org.teiid.translator.TranslatorExceptionpublic org.teiid.translator.MetadataProcessor<javax.persistence.EntityManager> getMetadataProcessor()
getMetadataProcessor in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsSelectExpression()
supportsSelectExpression in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAliasedTable()
supportsAliasedTable in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsInlineViews()
supportsInlineViews in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsCompareCriteriaEquals()
supportsCompareCriteriaEquals in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsCompareCriteriaOrdered()
supportsCompareCriteriaOrdered in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsLikeCriteria()
supportsLikeCriteria in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsInCriteria()
supportsInCriteria in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsInCriteriaSubquery()
supportsInCriteriaSubquery in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsIsNullCriteria()
supportsIsNullCriteria in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsOrCriteria()
supportsOrCriteria in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsNotCriteria()
supportsNotCriteria in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsExistsCriteria()
supportsExistsCriteria in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsGroupBy()
supportsGroupBy in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsHaving()
supportsHaving in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesSum()
supportsAggregatesSum in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesAvg()
supportsAggregatesAvg in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesMin()
supportsAggregatesMin in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesMax()
supportsAggregatesMax in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesCount()
supportsAggregatesCount in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesCountStar()
supportsAggregatesCountStar in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsAggregatesDistinct()
supportsAggregatesDistinct in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsScalarSubqueries()
supportsScalarSubqueries in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean useAnsiJoin()
useAnsiJoin in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsDependentJoins()
supportsDependentJoins in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public boolean supportsSelfJoins()
supportsSelfJoins in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public List<String> getSupportedFunctions()
getSupportedFunctions in class org.teiid.translator.ExecutionFactory<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager>public Map<String,org.teiid.translator.jdbc.FunctionModifier> getFunctionModifiers()
public void registerFunctionModifier(String name, org.teiid.translator.jdbc.FunctionModifier modifier)
FunctionModifier to the set of known modifiers.name - modifier - Copyright © 2018 JBoss by Red Hat. All rights reserved.