public abstract class org.hibernate.dialect.pagination.AbstractLimitHandler implements org.hibernate.dialect.pagination.LimitHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.hibernate.dialect.pagination.AbstractLimitHandler
  super_class: java.lang.Object
{
  protected final java.lang.String sql;
    descriptor: Ljava/lang/String;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final org.hibernate.engine.spi.RowSelection selection;
    descriptor: Lorg/hibernate/engine/spi/RowSelection;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  public void <init>(java.lang.String, org.hibernate.engine.spi.RowSelection);
    descriptor: (Ljava/lang/String;Lorg/hibernate/engine/spi/RowSelection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
        start local 1 // java.lang.String sql
        start local 2 // org.hibernate.engine.spi.RowSelection selection
         0: .line 23
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 24
            aload 0 /* this */
            aload 1 /* sql */
            putfield org.hibernate.dialect.pagination.AbstractLimitHandler.sql:Ljava/lang/String;
         2: .line 25
            aload 0 /* this */
            aload 2 /* selection */
            putfield org.hibernate.dialect.pagination.AbstractLimitHandler.selection:Lorg/hibernate/engine/spi/RowSelection;
         3: .line 26
            return
        end local 2 // org.hibernate.engine.spi.RowSelection selection
        end local 1 // java.lang.String sql
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            0    4     1        sql  Ljava/lang/String;
            0    4     2  selection  Lorg/hibernate/engine/spi/RowSelection;
    MethodParameters:
           Name  Flags
      sql        
      selection  

  public boolean supportsLimit();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 30
            iconst_0
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public boolean supportsLimitOffset();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 35
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.supportsLimit:()Z
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public boolean supportsVariableLimit();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 45
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.supportsLimit:()Z
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public boolean bindLimitParametersInReverseOrder();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 55
            iconst_0
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public boolean bindLimitParametersFirst();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 65
            iconst_0
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public boolean useMaxForLimit();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 85
            iconst_0
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public boolean forceLimitUsage();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 95
            iconst_0
            ireturn
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public int convertToFirstRowValue(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
        start local 1 // int zeroBasedFirstResult
         0: .line 114
            iload 1 /* zeroBasedFirstResult */
            ireturn
        end local 1 // int zeroBasedFirstResult
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    1     0                  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            0    1     1  zeroBasedFirstResult  I
    MethodParameters:
                      Name  Flags
      zeroBasedFirstResult  

  public java.lang.String getProcessedSql();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 119
            new java.lang.UnsupportedOperationException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Paged queries not supported by "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;

  public int bindLimitParametersAtStartOfQuery(java.sql.PreparedStatement, int);
    descriptor: (Ljava/sql/PreparedStatement;I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
        start local 1 // java.sql.PreparedStatement statement
        start local 2 // int index
         0: .line 125
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.bindLimitParametersFirst:()Z
            ifeq 1
            aload 0 /* this */
            aload 1 /* statement */
            iload 2 /* index */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.bindLimitParameters:(Ljava/sql/PreparedStatement;I)I
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 2 // int index
        end local 1 // java.sql.PreparedStatement statement
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            0    3     1  statement  Ljava/sql/PreparedStatement;
            0    3     2      index  I
    Exceptions:
      throws java.sql.SQLException
    MethodParameters:
           Name  Flags
      statement  
      index      

  public int bindLimitParametersAtEndOfQuery(java.sql.PreparedStatement, int);
    descriptor: (Ljava/sql/PreparedStatement;I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
        start local 1 // java.sql.PreparedStatement statement
        start local 2 // int index
         0: .line 131
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.bindLimitParametersFirst:()Z
            ifne 1
            aload 0 /* this */
            aload 1 /* statement */
            iload 2 /* index */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.bindLimitParameters:(Ljava/sql/PreparedStatement;I)I
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 2 // int index
        end local 1 // java.sql.PreparedStatement statement
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            0    3     1  statement  Ljava/sql/PreparedStatement;
            0    3     2      index  I
    Exceptions:
      throws java.sql.SQLException
    MethodParameters:
           Name  Flags
      statement  
      index      

  public void setMaxRows(java.sql.PreparedStatement);
    descriptor: (Ljava/sql/PreparedStatement;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
        start local 1 // java.sql.PreparedStatement statement
         0: .line 136
            return
        end local 1 // java.sql.PreparedStatement statement
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            0    1     1  statement  Ljava/sql/PreparedStatement;
    Exceptions:
      throws java.sql.SQLException
    MethodParameters:
           Name  Flags
      statement  

  protected int bindLimitParameters(java.sql.PreparedStatement, int);
    descriptor: (Ljava/sql/PreparedStatement;I)I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
        start local 1 // java.sql.PreparedStatement statement
        start local 2 // int index
         0: .line 148
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.supportsVariableLimit:()Z
            ifeq 1
            aload 0 /* this */
            getfield org.hibernate.dialect.pagination.AbstractLimitHandler.selection:Lorg/hibernate/engine/spi/RowSelection;
            invokestatic org.hibernate.dialect.pagination.LimitHelper.hasMaxRows:(Lorg/hibernate/engine/spi/RowSelection;)Z
            ifne 2
         1: .line 149
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         2: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.hibernate.dialect.pagination.AbstractLimitHandler.selection:Lorg/hibernate/engine/spi/RowSelection;
            invokestatic org.hibernate.dialect.pagination.LimitHelper.getFirstRow:(Lorg/hibernate/engine/spi/RowSelection;)I
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.convertToFirstRowValue:(I)I
            istore 3 /* firstRow */
        start local 3 // int firstRow
         3: .line 152
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.getMaxOrLimit:()I
            istore 4 /* lastRow */
        start local 4 // int lastRow
         4: .line 153
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.supportsLimitOffset:()Z
            ifeq 6
            iload 3 /* firstRow */
            ifgt 5
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.forceLimitUsage:()Z
            ifeq 6
      StackMap locals: int int
      StackMap stack:
         5: iconst_1
            goto 7
      StackMap locals:
      StackMap stack:
         6: iconst_0
      StackMap locals:
      StackMap stack: int
         7: istore 5 /* hasFirstRow */
        start local 5 // boolean hasFirstRow
         8: .line 154
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.bindLimitParametersInReverseOrder:()Z
            istore 6 /* reverse */
        start local 6 // boolean reverse
         9: .line 155
            iload 5 /* hasFirstRow */
            ifeq 13
        10: .line 156
            aload 1 /* statement */
            iload 2 /* index */
            iload 6 /* reverse */
            ifeq 11
            iconst_1
            goto 12
      StackMap locals: org.hibernate.dialect.pagination.AbstractLimitHandler java.sql.PreparedStatement int int int int int
      StackMap stack: java.sql.PreparedStatement int
        11: iconst_0
      StackMap locals: org.hibernate.dialect.pagination.AbstractLimitHandler java.sql.PreparedStatement int int int int int
      StackMap stack: java.sql.PreparedStatement int int
        12: iadd
            iload 3 /* firstRow */
            invokeinterface java.sql.PreparedStatement.setInt:(II)V
        13: .line 158
      StackMap locals:
      StackMap stack:
            aload 1 /* statement */
            iload 2 /* index */
            iload 6 /* reverse */
            ifne 14
            iload 5 /* hasFirstRow */
            ifne 15
      StackMap locals: org.hibernate.dialect.pagination.AbstractLimitHandler java.sql.PreparedStatement int int int int int
      StackMap stack: java.sql.PreparedStatement int
        14: iconst_0
            goto 16
      StackMap locals: org.hibernate.dialect.pagination.AbstractLimitHandler java.sql.PreparedStatement int int int int int
      StackMap stack: java.sql.PreparedStatement int
        15: iconst_1
      StackMap locals: org.hibernate.dialect.pagination.AbstractLimitHandler java.sql.PreparedStatement int int int int int
      StackMap stack: java.sql.PreparedStatement int int
        16: iadd
            iload 4 /* lastRow */
            invokeinterface java.sql.PreparedStatement.setInt:(II)V
        17: .line 159
            iload 5 /* hasFirstRow */
            ifeq 18
            iconst_2
            goto 19
      StackMap locals:
      StackMap stack:
        18: iconst_1
      StackMap locals:
      StackMap stack: int
        19: ireturn
        end local 6 // boolean reverse
        end local 5 // boolean hasFirstRow
        end local 4 // int lastRow
        end local 3 // int firstRow
        end local 2 // int index
        end local 1 // java.sql.PreparedStatement statement
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   20     0         this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            0   20     1    statement  Ljava/sql/PreparedStatement;
            0   20     2        index  I
            3   20     3     firstRow  I
            4   20     4      lastRow  I
            8   20     5  hasFirstRow  Z
            9   20     6      reverse  Z
    Exceptions:
      throws java.sql.SQLException
    MethodParameters:
           Name  Flags
      statement  
      index      

  protected int getMaxOrLimit();
    descriptor: ()I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
         0: .line 170
            aload 0 /* this */
            aload 0 /* this */
            getfield org.hibernate.dialect.pagination.AbstractLimitHandler.selection:Lorg/hibernate/engine/spi/RowSelection;
            invokestatic org.hibernate.dialect.pagination.LimitHelper.getFirstRow:(Lorg/hibernate/engine/spi/RowSelection;)I
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.convertToFirstRowValue:(I)I
            istore 1 /* firstRow */
        start local 1 // int firstRow
         1: .line 171
            aload 0 /* this */
            getfield org.hibernate.dialect.pagination.AbstractLimitHandler.selection:Lorg/hibernate/engine/spi/RowSelection;
            invokevirtual org.hibernate.engine.spi.RowSelection.getMaxRows:()Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            istore 2 /* lastRow */
        start local 2 // int lastRow
         2: .line 172
            aload 0 /* this */
            invokevirtual org.hibernate.dialect.pagination.AbstractLimitHandler.useMaxForLimit:()Z
            ifeq 3
            iload 2 /* lastRow */
            iload 1 /* firstRow */
            iadd
            goto 4
      StackMap locals: int int
      StackMap stack:
         3: iload 2 /* lastRow */
      StackMap locals:
      StackMap stack: int
         4: ireturn
        end local 2 // int lastRow
        end local 1 // int firstRow
        end local 0 // org.hibernate.dialect.pagination.AbstractLimitHandler this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lorg/hibernate/dialect/pagination/AbstractLimitHandler;
            1    5     1  firstRow  I
            2    5     2   lastRow  I
}
SourceFile: "AbstractLimitHandler.java"