package io.trygvis.esper.testing.util.sql; import fj.data.*; public class PageRequest { public final Option startIndex; public final Option count; public final List orderBy; public static final PageRequest FIRST_PAGE = new PageRequest(Option.none(), Option.none(), List.nil()); public PageRequest(Option startIndex, Option count, List orderBy) { this.startIndex = startIndex; this.count = count; this.orderBy = orderBy; } public String toString() { return "PageRequest{startIndex=" + startIndex + ", count=" + count + '}'; } }