Class SelectDSL.OffsetFirstFinisher

java.lang.Object
org.mybatis.dynamic.sql.select.SelectDSL.OffsetFirstFinisher
All Implemented Interfaces:
SelectDSLForAndWaitOperations<R>, Buildable<R>
Enclosing class:
SelectDSL<R>

public class SelectDSL.OffsetFirstFinisher extends Object implements SelectDSLForAndWaitOperations<R>, Buildable<R>
  • Constructor Details

    • OffsetFirstFinisher

      public OffsetFirstFinisher()
  • Method Details

    • fetchFirst

      public SelectDSL<R>.FetchFirstFinisher fetchFirst(long fetchFirstRows)
    • fetchFirstWhenPresent

      public SelectDSL<R>.FetchFirstFinisher fetchFirstWhenPresent(@Nullable Long fetchFirstRows)
    • getSelectDSL

      public SelectDSL<R> getSelectDSL()
      Description copied from interface: SelectDSLForAndWaitOperations
      Gain access to the SelectDSL instance.

      This is a leak of an implementation detail into the public API. The tradeoff is that it significantly reduces copy/paste code of SelectDSL methods into all the different inner classes of QueryExpressionDSL where they would be needed.

      Specified by:
      getSelectDSL in interface SelectDSLForAndWaitOperations<R>
      Returns:
      the SelectDSL instance associated with this interface instance
    • build

      public R build()
      Specified by:
      build in interface Buildable<R>