Class LimitOffsetQueryRewriter

    • Constructor Detail

      • LimitOffsetQueryRewriter

        public LimitOffsetQueryRewriter​(JdbcDataContext dataContext)
    • Method Detail

      • isFirstRowSupported

        public final boolean isFirstRowSupported​(org.apache.metamodel.query.Query query)
        Description copied from interface: IQueryRewriter
        Gets whether this query rewriter is able to write the "First row" query property to the query string.
        Specified by:
        isFirstRowSupported in interface IQueryRewriter
        Overrides:
        isFirstRowSupported in class DefaultQueryRewriter
        Parameters:
        query - For some database engines, the content of the query decides the ability to change first row
        Returns:
        whether this query rewriter is able to write the "First row" query property to the query string.
      • isMaxRowsSupported

        public final boolean isMaxRowsSupported()
        Description copied from interface: IQueryRewriter
        Gets whether this query rewriter is able to write the "Max rows" query property to the query string.
        Specified by:
        isMaxRowsSupported in interface IQueryRewriter
        Overrides:
        isMaxRowsSupported in class DefaultQueryRewriter
        Returns:
        whether this query rewriter is able to write the "Max rows" query property to the query string.