Class SQLServerSelectAction

  • All Implemented Interfaces:
    SQLAction

    public class SQLServerSelectAction
    extends SelectAction
    Since:
    4.2
    • Constructor Detail

      • SQLServerSelectAction

        public SQLServerSelectAction​(Select<?> query,
                                     DataNode dataNode,
                                     boolean needsInMemoryOffset)
    • Method Detail

      • getInMemoryOffset

        protected int getInMemoryOffset​(int queryOffset)
        Description copied from class: BaseSQLAction
        Returns a value of the offset that will be used to rewind the ResultSet within the SQL action before reading the result rows. The default implementation returns 'queryOffset' argument. If the adapter supports setting offset at the SQL level, this method must be overridden to return zero to suppress manual offset.
        Overrides:
        getInMemoryOffset in class BaseSQLAction