org.hotrod.runtime.livesql.dialects.PaginationRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hotrod-livesql Show documentation
Show all versions of hotrod-livesql Show documentation
HotRod is an ORM for Java, Spring and SpringBoot.
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