Class BaseSybaseExecutionFactory

    • Constructor Detail

      • BaseSybaseExecutionFactory

        public BaseSybaseExecutionFactory()
    • Method Detail

      • useAsInGroupAlias

        public boolean useAsInGroupAlias()
        Description copied from class: JDBCExecutionFactory
        Indicates whether group alias should be of the form "...FROM groupA AS X" or "...FROM groupA X". Certain data sources (such as Oracle) may not support the first form.
        Overrides:
        useAsInGroupAlias in class JDBCExecutionFactory
        Returns:
        boolean
      • hasTimeType

        public boolean hasTimeType()
        Description copied from class: JDBCExecutionFactory
        Return false to indicate that time support should be emulated with timestamps.
        Overrides:
        hasTimeType in class JDBCExecutionFactory
        Returns:
        true if database has a time type
      • translateCommand

        public List<?> translateCommand​(org.teiid.language.Command command,
                                        org.teiid.translator.ExecutionContext context)
        SetQueries don't have a concept of TOP, an inline view is needed.
        Overrides:
        translateCommand in class JDBCExecutionFactory
        Returns:
        a list of translated parts
      • translate

        public List<?> translate​(org.teiid.language.LanguageObject obj,
                                 org.teiid.translator.ExecutionContext context)
        Description copied from class: JDBCExecutionFactory
        Return a List of translated parts (LanguageObjects and Objects), or null if to rely on the default translation. Override with care.
        Overrides:
        translate in class JDBCExecutionFactory
        Returns:
        list of translated parts
      • supportsCrossJoin

        protected boolean supportsCrossJoin()
      • translateLimit

        public List<?> translateLimit​(org.teiid.language.Limit limit,
                                      org.teiid.translator.ExecutionContext context)
        Description copied from class: JDBCExecutionFactory
        Return a List of translated parts (LanguageObjects and Objects), or null if to rely on the default translation.
        Overrides:
        translateLimit in class JDBCExecutionFactory
        Returns:
        a list of translated parts
      • useSelectLimit

        public boolean useSelectLimit()
        Description copied from class: JDBCExecutionFactory
        Returns whether the limit clause is applied to the select clause.
        Overrides:
        useSelectLimit in class JDBCExecutionFactory
        Returns:
        true if the limit clause is part of the select
      • nullPlusNonNullIsNull

        public boolean nullPlusNonNullIsNull()
      • booleanNullable

        public boolean booleanNullable()
      • supportsAggregatesCountBig

        public boolean supportsAggregatesCountBig()
        Overrides:
        supportsAggregatesCountBig in class org.teiid.translator.ExecutionFactory<DataSource,​Connection>