@Translator(name="redshift",
description="A translator for Redshift")
public class RedshiftExecutionFactory
extends PostgreSQLExecutionFactory
JDBCExecutionFactory.StructRetrievalEIGHT_0, EIGHT_1, EIGHT_2, EIGHT_3, EIGHT_4, NINE_0, NINE_3, ONE_3, ONE_4, ONE_5, parseModifier, POSTGRESQL, TWO_0DEFAULT_MAX_DEPENDENT_PREDICATES, DEFAULT_MAX_IN_CRITERIA, DEFAULT_TIME_ZONE, dialect| Constructor and Description |
|---|
RedshiftExecutionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToken(String group)
Convert to a new parsing token or return null if not possible
|
String |
getCreateTemporaryTablePostfix(boolean inTransaction) |
List<String> |
getSupportedFunctions() |
boolean |
hasTimeType()
Return false to indicate that time support should be emulated
with timestamps.
|
void |
intializeConnectionAfterCancel(Connection c)
Implemented if the
Connection needs initialized after a statement cancel |
void |
start() |
boolean |
supportsConvert(int fromType,
int toType) |
boolean |
supportsQuantifiedCompareCriteriaAll() |
boolean |
supportsQuantifiedCompareCriteriaSome() |
addDefaultEscape, bindValue, getDefaultNullOrder, getHibernateDialectClassName, getMetadataProcessor, getPostGisVersion, getSQLConversionVisitor, getTimestampNanoPrecision, initCapabilities, isProjSupported, loadedTemporaryTable, retrieveGeometryValue, setPostGisVersion, setProjSupported, supportsAggregatesEnhancedNumeric, supportsArrayAgg, supportsArrayType, supportsCommonTableExpressions, supportsElementaryOlapOperations, supportsExcept, supportsFormatLiteral, supportsFunctionsInGroupBy, supportsInlineViews, supportsIntersect, supportsIsDistinctCriteria, supportsLateralJoin, supportsLikeRegex, supportsOnlyFormatLiterals, supportsOrderByNullOrdering, supportsRecursiveCommonTableExpressions, supportsRowLimit, supportsRowOffset, supportsSelectWithoutFrom, supportsSimilarTo, supportsStringAgg, supportsWindowDistinctAggregates, translate, translateGeometrySelect, translateLimit, translateLiteralBinaryType, translateLiteralBoolean, translateLiteralDate, translateLiteralTime, translateLiteralTimestamp, usesDatabaseVersion, useStreamsForLobsaddSourceComment, afterInitialConnectionObtained, closeConnection, convertObject, createDirectExecution, createMetadataProcessor, createProcedureExecution, createResultSetExecution, createTempTable, createUpdateExecution, executeStoredProcedure, formatDateValue, formatDateValue, getCommentFormat, getConnection, getCreateTemporaryTableString, getCreateTempTableSQL, getDatabaseCalendar, getDatabaseTimeZone, getDatabaseVersion, getDefaultSupportedFunctions, getDialect, getFunctionModifiers, getLateralKeyword, getLikeRegexString, getMaxPreparedInsertBatchSize, getMetadata, getRemovePushdownCharacters, getSetOperationString, getSourceComment, getStructRetrieval, getTemporaryTableName, getVersion, isEnableDependentJoins, isNonAscii, isNonAsciiFunction, isSourceRequired, isSourceRequiredForCapabilities, isTrimStrings, obtainedConnection, parseName, registerFunctionModifier, registerSpecificTypeOfOutParameter, replaceElementName, retrieveGeometryValue, retrieveValue, retrieveValue, setCommentFormat, setDatabaseTimeZone, setDatabaseVersion, setDatabaseVersion, setEnableDependentJoins, setFetchSize, setMaxPreparedInsertBatchSize, setRemovePushdownCharacters, setStructRetrieval, setTrimStrings, setUseBindingsForDependentJoin, setUseBindVariables, setUseCommentsInSourceQuery, supportsAggregatesAvg, supportsAggregatesCount, supportsAggregatesCountStar, supportsAggregatesDistinct, supportsAggregatesMax, supportsAggregatesMin, supportsAggregatesSum, supportsAliasedTable, supportsBatchedUpdates, supportsBooleanExpressions, supportsBulkUpdate, supportsCompareCriteriaEquals, supportsCompareCriteriaOrdered, supportsCorrelatedSubqueries, supportsDependentJoins, supportsExistsCriteria, supportsFullDependentJoins, supportsGeneratedKeys, supportsGeneratedKeys, supportsGroupBy, supportsHaving, supportsInCriteria, supportsInCriteriaSubquery, supportsInsertWithQueryExpression, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsNotCriteria, supportsOrCriteria, supportsOrderByUnrelated, supportsScalarSubqueries, supportsSearchedCaseExpressions, supportsSelectExpression, supportsSelfJoins, supportsSetQueryOrderBy, supportsUnions, tempTableRequiresTransaction, translateCommand, translateGeometryLiteral, translateGeometryParameter, useAsInGroupAlias, useBindingsForDependentJoin, useBindVariables, useColumnNamesForGeneratedKeys, useCommentsInSourceQuery, useParensForJoins, useParensForSetQueries, usePreparedStatements, useScientificNotation, useSelectLimit, 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, supportsCompareCriteriaOrderedExclusive, supportsCorrelatedSubqueryLimit, supportsDirectQueryProcedure, supportsFullOuterJoins, supportsGroupByMultipleDistinctAggregates, supportsGroupByRollup, supportsInnerJoins, supportsLateralJoinCondition, supportsNativeQueries, supportsOnlyCorrelatedSubqueries, supportsOnlyLateralJoinProcedure, supportsOnlyLiteralComparison, supportsOnlySingleTableGroupBy, supportsOnlyTimestampAddLiteral, supportsOrderBy, supportsOrderByWithExtendedGrouping, supportsOuterJoins, supportsPartialFiltering, supportsProcedureTable, supportsScalarSubqueryProjection, supportsSelectDistinct, supportsSelectExpressionArrayType, supportsSetQueryLimitOffset, supportsSubqueryCommonTableExpressions, supportsSubqueryInOn, supportsUpsert, supportsWindowOrderByWithAggregates, useAnsiJoinpublic void start()
throws org.teiid.translator.TranslatorException
start in class PostgreSQLExecutionFactoryorg.teiid.translator.TranslatorExceptionpublic void intializeConnectionAfterCancel(Connection c) throws SQLException
JDBCExecutionFactoryConnection needs initialized after a statement cancelintializeConnectionAfterCancel in class JDBCExecutionFactorySQLExceptionpublic boolean hasTimeType()
JDBCExecutionFactoryhasTimeType in class JDBCExecutionFactorypublic boolean supportsConvert(int fromType,
int toType)
supportsConvert in class org.teiid.translator.ExecutionFactory<DataSource,Connection>public List<String> getSupportedFunctions()
getSupportedFunctions in class PostgreSQLExecutionFactorypublic boolean supportsQuantifiedCompareCriteriaAll()
supportsQuantifiedCompareCriteriaAll in class JDBCExecutionFactorypublic boolean supportsQuantifiedCompareCriteriaSome()
supportsQuantifiedCompareCriteriaSome in class JDBCExecutionFactorypublic Object convertToken(String group)
PostgreSQLExecutionFactoryconvertToken in class PostgreSQLExecutionFactorypublic String getCreateTemporaryTablePostfix(boolean inTransaction)
getCreateTemporaryTablePostfix in class PostgreSQLExecutionFactoryCopyright © 2018 JBoss by Red Hat. All rights reserved.