All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hotrod.runtime.livesql.dialects.PaginationRenderer Maven / Gradle / Ivy

There is a newer version: 4.8.1
Show newest version
package org.hotrod.runtime.livesql.dialects;

import org.hotrod.runtime.livesql.queries.select.QueryWriter;

public abstract class PaginationRenderer {

  public enum PaginationType {
    TOP, BOTTOM, ENCLOSE
  };

  public abstract PaginationType getPaginationType(Integer offset, Integer limit);

  public abstract void renderTopPagination(Integer offset, Integer limit, QueryWriter w);

  public abstract void renderBottomPagination(Integer offset, Integer limit, QueryWriter w);

  public abstract void renderBeginEnclosingPagination(Integer offset, Integer limit, QueryWriter w);

  public abstract void renderEndEnclosingPagination(Integer offset, Integer limit, QueryWriter w);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy