Class SQLServerExecutionFactory
- java.lang.Object
-
- org.teiid.translator.ExecutionFactory<DataSource,Connection>
-
- org.teiid.translator.jdbc.JDBCExecutionFactory
-
- org.teiid.translator.jdbc.sybase.BaseSybaseExecutionFactory
-
- org.teiid.translator.jdbc.sybase.SybaseExecutionFactory
-
- org.teiid.translator.jdbc.sqlserver.SQLServerExecutionFactory
-
@Translator(name="sqlserver", description="A translator for Microsoft SQL Server Database") public class SQLServerExecutionFactory extends SybaseExecutionFactory
Updated to assume the use of the DataDirect, 2005 driver, or later.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.translator.jdbc.sybase.SybaseExecutionFactory
SybaseExecutionFactory.SybaseFormatFunctionModifier
-
Nested classes/interfaces inherited from class org.teiid.translator.jdbc.JDBCExecutionFactory
JDBCExecutionFactory.StructRetrieval
-
Nested classes/interfaces inherited from class org.teiid.translator.ExecutionFactory
ExecutionFactory.Format, ExecutionFactory.NullOrder, ExecutionFactory.SupportedJoinCriteria, ExecutionFactory.TransactionSupport
-
-
Field Summary
Fields Modifier and Type Field Description static VersionELEVEN_0static VersionNINE_0static VersionSEVEN_0static VersionTEN_0static StringV_2000static StringV_2005static StringV_2008static StringV_2012-
Fields inherited from class org.teiid.translator.jdbc.sybase.SybaseExecutionFactory
convertModifier, FIFTEEN_0_2, FIFTEEN_5, formatMap, jtdsDriver, TWELVE_5, TWELVE_5_3
-
Fields inherited from class org.teiid.translator.jdbc.JDBCExecutionFactory
DEFAULT_MAX_DEPENDENT_PREDICATES, DEFAULT_MAX_IN_CRITERIA, DEFAULT_TIME_ZONE, dialect
-
Fields inherited from class org.teiid.translator.ExecutionFactory
DEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE, DEFAULT_MAX_PROJECTED_COLUMNS
-
-
Constructor Summary
Constructors Constructor Description SQLServerExecutionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanbooleanNullable()protected List<Object>convertDateToString(Function function)protected List<?>convertTimestampToString(Function function)protected JDBCMetadataProcessorcreateMetadataProcessor()Deprecated.StringgetHibernateDialectClassName()MetadataProcessor<Connection>getMetadataProcessor()Get a MetadataProcessor for the translator to read the metadata.List<String>getSupportedFunctions()Get list of all supported function names.booleanhasTimeType()Return false to indicate that time support should be emulated with timestamps.voidinitCapabilities(Connection connection)Will be called byExecutionFactory.start()with a null connection if a source connection is notExecutionFactory.isSourceRequiredForCapabilities()booleannullPlusNonNullIsNull()protected voidpopulateDateFormats()voidsetDatabaseVersion(String version)Overridden to allow for year based versionsprotected booleansetFetchSize()voidstart()Initialize the connector with supplied configurationbooleansupportsAggregatesEnhancedNumeric()Support indicates connector can accept STDDEV_POP, STDDEV_VAR, VAR_POP, VAR_SAMPbooleansupportsCommonTableExpressions()booleansupportsConvert(int fromType, int toType)Used for fine grained control of convert/cast pushdown.protected booleansupportsCrossJoin()booleansupportsElementaryOlapOperations()booleansupportsExcept()Support indicates that the connector supports the EXCEPT of two queries.booleansupportsFormatLiteral(String literal, ExecutionFactory.Format format)booleansupportsFunctionsInGroupBy()Support indicates that the connector supports non-column expressions in GROUP BY, such as:SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)booleansupportsGroupByRollup()booleansupportsInlineViews()Support indicates connector can accept inline views (subqueries in the FROM clause).booleansupportsIntersect()Support indicates that the connector supports the INTERSECT of two queries.booleansupportsLiteralOnlyWithGrouping()booleansupportsOnlyFormatLiterals()booleansupportsRecursiveCommonTableExpressions()booleansupportsRowLimit()Gets whether the connector can limit the number of rows returned by a query.booleansupportsRowOffset()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 querybooleansupportsSelectWithoutFrom()booleansupportsSubqueryCommonTableExpressions()booleansupportsWindowDistinctAggregates()booleansupportsWindowFrameClause()booleansupportsWindowFunctionCumeDist()booleansupportsWindowFunctionNthValue()booleansupportsWindowFunctionNtile()booleansupportsWindowFunctionPercentRank()booleansupportsWindowOrderByWithAggregates()List<?>translate(LanguageObject obj, ExecutionContext context)Return a List of translated parts (LanguageObjects and Objects), or null if to rely on the default translation.List<?>translateCommand(Command command, ExecutionContext context)SetQueries don't have a concept of TOP, an inline view is needed.List<?>translateLimit(Limit limit, ExecutionContext context)Return a List of translated parts (LanguageObjects and Objects), or null if to rely on the default translation.StringtranslateLiteralDate(Date dateValue)Subclasses should override this method to provide a different sql translation of the literal date value.StringtranslateLiteralTime(Time timeValue)The SQL Server driver maps the time escape to a timestamp/datetime, so use a cast of the string literal instead.StringtranslateLiteralTimestamp(Timestamp timestampValue)Subclasses should override this method to provide a different sql translation of the literal timestamp value.protected booleanusesDatabaseVersion()booleanuseSelectLimit()Returns whether the limit clause is applied to the select clause.booleanuseStreamsForLobs()If streams should be used for Blob/Clob sets onPreparedStatementsbooleanuseWithRollup()-
Methods inherited from class org.teiid.translator.jdbc.sybase.SybaseExecutionFactory
getMaxFromGroups, isJtdsDriver, preserveNullTyping, setFetchSize, setJtdsDriver, translateLiteralBinaryType, useUnicodePrefix
-
Methods inherited from class org.teiid.translator.jdbc.sybase.BaseSybaseExecutionFactory
bindValue, getTemporaryTableName, getTimestampNanoPrecision, retrieveValue, retrieveValue, supportsAggregatesCountBig, supportsBooleanExpressions, useAsInGroupAlias
-
Methods inherited from class org.teiid.translator.jdbc.JDBCExecutionFactory
addSourceComment, afterInitialConnectionObtained, closeConnection, convertObject, createDirectExecution, createProcedureExecution, createResultSetExecution, createTempTable, createUpdateExecution, executeStoredProcedure, formatDateValue, formatDateValue, getCommentFormat, getConnection, getCreateTemporaryTablePostfix, getCreateTemporaryTableString, getCreateTempTableSQL, getDatabaseCalendar, getDatabaseTimeZone, getDatabaseVersion, getDefaultNullOrder, getDefaultSupportedFunctions, getDialect, getFunctionModifiers, getLateralKeyword, getLikeRegexString, getMaxPreparedInsertBatchSize, getMetadata, getRemovePushdownCharacters, getSetOperationString, getSourceComment, getSQLConversionVisitor, getStructRetrieval, getVersion, intializeConnectionAfterCancel, isCharacterType, isDefaultTimeZone, isEnableDependentJoins, isExtendedAscii, isNonAscii, isNonAscii, isNonAsciiFunction, isSourceRequired, isSourceRequiredForCapabilities, isTrimStrings, loadedTemporaryTable, obtainedConnection, registerFunctionModifier, registerSpecificTypeOfOutParameter, replaceElementName, retrieveGeographyValue, retrieveGeographyValue, retrieveGeometryValue, retrieveGeometryValue, setCommentFormat, setDatabaseTimeZone, setDatabaseVersion, setEnableDependentJoins, setMaxPreparedInsertBatchSize, setRemovePushdownCharacters, setStructRetrieval, setTrimStrings, setUseBindingsForDependentJoin, setUseBindVariables, setUseCommentsInSourceQuery, supportsAggregatesAvg, supportsAggregatesCount, supportsAggregatesCountStar, supportsAggregatesDistinct, supportsAggregatesMax, supportsAggregatesMin, supportsAggregatesSum, supportsAliasedTable, supportsBatchedUpdates, supportsBulkUpdate, supportsCompareCriteriaEquals, supportsCompareCriteriaOrdered, supportsCorrelatedSubqueries, supportsDependentJoins, supportsExistsCriteria, supportsFullDependentJoins, supportsGeneratedKeys, supportsGeneratedKeys, supportsGroupBy, supportsHaving, supportsInCriteria, supportsInCriteriaSubquery, supportsInsertWithQueryExpression, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsNotCriteria, supportsOrCriteria, supportsOrderByUnrelated, supportsProcedureParameterExpression, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsScalarSubqueries, supportsSearchedCaseExpressions, supportsSelectExpression, supportsSelfJoins, supportsSetQueryOrderBy, supportsUnions, tempTableRequiresTransaction, translateGeographyLiteral, translateGeographyParameter, translateGeographySelect, translateGeometryLiteral, translateGeometryParameter, translateGeometrySelect, translateLiteralBoolean, useBindingsForDependentJoin, useBindVariables, useColumnNamesForGeneratedKeys, useCommentsInSourceQuery, useNBindingType, useParensForJoins, useParensForSetQueries, usePreparedStatements, useScientificNotation
-
Methods inherited from class org.teiid.translator.ExecutionFactory
addPushDownFunction, areLobsUsableAfterClose, createExecution, getCacheDirective, getCollationLocale, getConnection, getDirectQueryProcedureName, getExcludedCommonTableExpressionName, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxInCriteriaSize, getMaxProjectedColumns, 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, supportsCompareCriteriaOrderedExclusive, supportsCorrelatedSubqueryLimit, supportsDirectQueryProcedure, supportsFullOuterJoins, supportsGeographyType, supportsGroupByMultipleDistinctAggregates, supportsInnerJoins, supportsIsDistinctCriteria, supportsLateralJoin, supportsLateralJoinCondition, supportsLikeRegex, supportsListAgg, supportsMultipleOpenExecutions, supportsNativeQueries, supportsOnlyCorrelatedSubqueries, supportsOnlyLateralJoinProcedure, supportsOnlyLiteralComparison, supportsOnlyRelationshipStyleJoins, supportsOnlySingleTableGroupBy, supportsOnlyTimestampAddLiteral, supportsOrderBy, supportsOrderByNullOrdering, supportsOrderByWithExtendedGrouping, supportsOuterJoins, supportsPartialFiltering, supportsProcedureTable, supportsScalarSubqueryProjection, supportsSelectDistinct, supportsSelectExpressionArrayType, supportsSetQueryLimitOffset, supportsSimilarTo, supportsStringAgg, supportsSubqueryInOn, supportsUpsert, useAnsiJoin
-
-
-
-
Field Detail
-
V_2000
public static final String V_2000
- See Also:
- Constant Field Values
-
V_2005
public static final String V_2005
- See Also:
- Constant Field Values
-
V_2008
public static final String V_2008
- See Also:
- Constant Field Values
-
V_2012
public static final String V_2012
- See Also:
- Constant Field Values
-
SEVEN_0
public static final Version SEVEN_0
-
NINE_0
public static final Version NINE_0
-
TEN_0
public static final Version TEN_0
-
ELEVEN_0
public static final Version ELEVEN_0
-
-
Method Detail
-
start
public void start() throws TranslatorExceptionDescription copied from class:ExecutionFactoryInitialize the connector with supplied configuration- Overrides:
startin classSybaseExecutionFactory- Throws:
TranslatorException
-
initCapabilities
public void initCapabilities(Connection connection) throws TranslatorException
Description copied from class:ExecutionFactoryWill be called byExecutionFactory.start()with a null connection if a source connection is notExecutionFactory.isSourceRequiredForCapabilities()- Overrides:
initCapabilitiesin classSybaseExecutionFactory- Throws:
TranslatorException
-
populateDateFormats
protected void populateDateFormats()
- Overrides:
populateDateFormatsin classSybaseExecutionFactory
-
convertDateToString
protected List<Object> convertDateToString(Function function)
- Overrides:
convertDateToStringin classSybaseExecutionFactory
-
convertTimestampToString
protected List<?> convertTimestampToString(Function function)
- Overrides:
convertTimestampToStringin classSybaseExecutionFactory
-
translate
public List<?> translate(LanguageObject obj, ExecutionContext context)
Description copied from class:JDBCExecutionFactoryReturn a List of translated parts (LanguageObjects and Objects), or null if to rely on the default translation. Override with care.- Overrides:
translatein classBaseSybaseExecutionFactory- Returns:
- list of translated parts
-
getSupportedFunctions
public List<String> getSupportedFunctions()
Description copied from class:ExecutionFactoryGet list of all supported function names. Arithmetic functions have names like "+".- Overrides:
getSupportedFunctionsin classSybaseExecutionFactory- 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. Note: User defined functions should be specified fully qualified.
-
supportsInlineViews
public boolean supportsInlineViews()
Description copied from class:ExecutionFactorySupport indicates connector can accept inline views (subqueries in the FROM clause).- Overrides:
supportsInlineViewsin classSybaseExecutionFactory
-
supportsFunctionsInGroupBy
public boolean supportsFunctionsInGroupBy()
Description copied from class:ExecutionFactorySupport indicates that the connector supports non-column expressions in GROUP BY, such as:
SELECT dayofmonth(theDate), COUNT(*) FROM table GROUP BY dayofmonth(theDate)- Overrides:
supportsFunctionsInGroupByin classSybaseExecutionFactory
-
supportsRowLimit
public boolean supportsRowLimit()
Description copied from class:ExecutionFactoryGets whether the connector can limit the number of rows returned by a query.- Overrides:
supportsRowLimitin classSybaseExecutionFactory
-
supportsRowOffset
public boolean supportsRowOffset()
Description copied from class:ExecutionFactoryGets 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:
supportsRowOffsetin classExecutionFactory<DataSource,Connection>
-
supportsIntersect
public boolean supportsIntersect()
Description copied from class:ExecutionFactorySupport indicates that the connector supports the INTERSECT of two queries.- Overrides:
supportsIntersectin classExecutionFactory<DataSource,Connection>
-
supportsExcept
public boolean supportsExcept()
Description copied from class:ExecutionFactorySupport indicates that the connector supports the EXCEPT of two queries.- Overrides:
supportsExceptin classExecutionFactory<DataSource,Connection>
-
supportsAggregatesEnhancedNumeric
public boolean supportsAggregatesEnhancedNumeric()
Description copied from class:ExecutionFactorySupport indicates connector can accept STDDEV_POP, STDDEV_VAR, VAR_POP, VAR_SAMP- Overrides:
supportsAggregatesEnhancedNumericin classSybaseExecutionFactory
-
nullPlusNonNullIsNull
public boolean nullPlusNonNullIsNull()
- Overrides:
nullPlusNonNullIsNullin classSybaseExecutionFactory
-
booleanNullable
public boolean booleanNullable()
- Overrides:
booleanNullablein classSybaseExecutionFactory
-
setDatabaseVersion
public void setDatabaseVersion(String version)
Overridden to allow for year based versions- Overrides:
setDatabaseVersionin classJDBCExecutionFactory
-
translateLiteralDate
public String translateLiteralDate(Date dateValue)
Description copied from class:JDBCExecutionFactorySubclasses should override this method to provide a different sql translation of the literal date value. By default, a date literal is represented as:{d '2002-12-31'}- Overrides:
translateLiteralDatein classSybaseExecutionFactory- Parameters:
dateValue- Date value, never null- Returns:
- Translated string
-
hasTimeType
public boolean hasTimeType()
Description copied from class:JDBCExecutionFactoryReturn false to indicate that time support should be emulated with timestamps.- Overrides:
hasTimeTypein classBaseSybaseExecutionFactory- Returns:
- true if database has a time type
-
translateLiteralTime
public String translateLiteralTime(Time timeValue)
The SQL Server driver maps the time escape to a timestamp/datetime, so use a cast of the string literal instead.- Overrides:
translateLiteralTimein classJDBCExecutionFactory- Parameters:
timeValue- Time value, never null- Returns:
- Translated string
-
supportsCommonTableExpressions
public boolean supportsCommonTableExpressions()
- Overrides:
supportsCommonTableExpressionsin classExecutionFactory<DataSource,Connection>- Returns:
- true if the WITH clause is supported
-
supportsSubqueryCommonTableExpressions
public boolean supportsSubqueryCommonTableExpressions()
- Overrides:
supportsSubqueryCommonTableExpressionsin classExecutionFactory<DataSource,Connection>- Returns:
- true if the WITH clause can appear in subqueries
-
supportsRecursiveCommonTableExpressions
public boolean supportsRecursiveCommonTableExpressions()
- Overrides:
supportsRecursiveCommonTableExpressionsin classExecutionFactory<DataSource,Connection>- Returns:
- true if a recursive WITH clause item is supported
-
supportsCrossJoin
protected boolean supportsCrossJoin()
- Overrides:
supportsCrossJoinin classBaseSybaseExecutionFactory
-
supportsElementaryOlapOperations
public boolean supportsElementaryOlapOperations()
- Overrides:
supportsElementaryOlapOperationsin classExecutionFactory<DataSource,Connection>- Returns:
- true if Elementary OLAP operations are supported including window functions and inline window specifications that include simple expressions in partitioning and ordering
-
supportsWindowDistinctAggregates
public boolean supportsWindowDistinctAggregates()
- Overrides:
supportsWindowDistinctAggregatesin classExecutionFactory<DataSource,Connection>- Returns:
- true if distinct aggregates can be windowed function.
-
supportsWindowOrderByWithAggregates
public boolean supportsWindowOrderByWithAggregates()
- Overrides:
supportsWindowOrderByWithAggregatesin classExecutionFactory<DataSource,Connection>- Returns:
- true if all aggregates can have window function order by clauses.
-
supportsFormatLiteral
public boolean supportsFormatLiteral(String literal, ExecutionFactory.Format format)
- Overrides:
supportsFormatLiteralin classSybaseExecutionFactory- Returns:
- true if the given Java format string is supported
-
supportsOnlyFormatLiterals
public boolean supportsOnlyFormatLiterals()
Description copied from class:ExecutionFactory- Overrides:
supportsOnlyFormatLiteralsin classSybaseExecutionFactory- Returns:
- true if only literal formats are supports.
-
setFetchSize
protected boolean setFetchSize()
- Overrides:
setFetchSizein classSybaseExecutionFactory
-
createMetadataProcessor
@Deprecated protected JDBCMetadataProcessor createMetadataProcessor()
Deprecated.- Overrides:
createMetadataProcessorin classJDBCExecutionFactory- See Also:
JDBCExecutionFactory.getMetadataProcessor()
-
getMetadataProcessor
public MetadataProcessor<Connection> getMetadataProcessor()
Description copied from class:ExecutionFactoryGet a MetadataProcessor for the translator to read the metadata. Typically this will return a new instance.- Overrides:
getMetadataProcessorin classJDBCExecutionFactory- Returns:
-
usesDatabaseVersion
protected boolean usesDatabaseVersion()
- Overrides:
usesDatabaseVersionin classSybaseExecutionFactory
-
useStreamsForLobs
public boolean useStreamsForLobs()
Description copied from class:JDBCExecutionFactoryIf streams should be used for Blob/Clob sets onPreparedStatements- Overrides:
useStreamsForLobsin classJDBCExecutionFactory- Returns:
-
supportsSelectWithoutFrom
public boolean supportsSelectWithoutFrom()
- Overrides:
supportsSelectWithoutFromin classSybaseExecutionFactory- Returns:
- true if the translator support SELECT without a FROM clause
-
getHibernateDialectClassName
public String getHibernateDialectClassName()
- Overrides:
getHibernateDialectClassNamein classSybaseExecutionFactory
-
supportsGroupByRollup
public boolean supportsGroupByRollup()
- Overrides:
supportsGroupByRollupin classSybaseExecutionFactory- Returns:
- true if the translator support GROUP BY ROLLUP
-
useWithRollup
public boolean useWithRollup()
- Overrides:
useWithRollupin classJDBCExecutionFactory- Returns:
- true if the rollup syntax is WITH ROLLUP
-
supportsConvert
public boolean supportsConvert(int fromType, int toType)Description copied from class:ExecutionFactoryUsed for fine grained control of convert/cast pushdown. TheExecutionFactory.getSupportedFunctions()should containSourceSystemFunctions.CONVERT. This method can then return false to indicate a lack of specific support. The engine will does not care about an unnecessary conversion where fromType == toType. By default lob conversion is disabled.- Overrides:
supportsConvertin classExecutionFactory<DataSource,Connection>- Returns:
- true if the given conversion is supported.
- See Also:
TypeFacility.RUNTIME_CODES,TypeFacility.RUNTIME_CODES
-
supportsLiteralOnlyWithGrouping
public boolean supportsLiteralOnlyWithGrouping()
- Overrides:
supportsLiteralOnlyWithGroupingin classSybaseExecutionFactory
-
translateCommand
public List<?> translateCommand(Command command, ExecutionContext context)
Description copied from class:BaseSybaseExecutionFactorySetQueries don't have a concept of TOP, an inline view is needed.- Overrides:
translateCommandin classSybaseExecutionFactory- Returns:
- a list of translated parts
-
translateLimit
public List<?> translateLimit(Limit limit, ExecutionContext context)
Description copied from class:JDBCExecutionFactoryReturn a List of translated parts (LanguageObjects and Objects), or null if to rely on the default translation.- Overrides:
translateLimitin classBaseSybaseExecutionFactory- Returns:
- a list of translated parts
-
useSelectLimit
public boolean useSelectLimit()
Description copied from class:JDBCExecutionFactoryReturns whether the limit clause is applied to the select clause.- Overrides:
useSelectLimitin classBaseSybaseExecutionFactory- Returns:
- true if the limit clause is part of the select
-
translateLiteralTimestamp
public String translateLiteralTimestamp(Timestamp timestampValue)
Description copied from class:JDBCExecutionFactorySubclasses should override this method to provide a different sql translation of the literal timestamp value. By default, a timestamp literal is represented as:{ts '2002-12-31 23:59:59'}. SeeJDBCExecutionFactory.getTimestampNanoPrecision()to control the literal precision.- Overrides:
translateLiteralTimestampin classSybaseExecutionFactory- Parameters:
timestampValue- Timestamp value, never null- Returns:
- Translated string
-
supportsWindowFunctionNtile
public boolean supportsWindowFunctionNtile()
- Overrides:
supportsWindowFunctionNtilein classExecutionFactory<DataSource,Connection>- Returns:
- true if ntile is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
supportsWindowFunctionPercentRank
public boolean supportsWindowFunctionPercentRank()
- Overrides:
supportsWindowFunctionPercentRankin classExecutionFactory<DataSource,Connection>- Returns:
- true if percent_rank is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
supportsWindowFunctionCumeDist
public boolean supportsWindowFunctionCumeDist()
- Overrides:
supportsWindowFunctionCumeDistin classExecutionFactory<DataSource,Connection>- Returns:
- true if cume_dist is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
supportsWindowFunctionNthValue
public boolean supportsWindowFunctionNthValue()
- Overrides:
supportsWindowFunctionNthValuein classExecutionFactory<DataSource,Connection>- Returns:
- true if nth_value is supported.
defaults to
ExecutionFactory.supportsElementaryOlapOperations()
-
supportsWindowFrameClause
public boolean supportsWindowFrameClause()
- Overrides:
supportsWindowFrameClausein classExecutionFactory<DataSource,Connection>- Returns:
- true if the window frame clause is supported
-
-