Class Order<T extends Order,P extends Query>

java.lang.Object
io.inversion.rql.Builder<T,P>
io.inversion.rql.Order<T,P>

public class Order<T extends Order,P extends Query> extends Builder<T,P>
  • Constructor Details

    • Order

      public Order(P query)
  • Method Details

    • isAsc

      public boolean isAsc(int index)
      Parameters:
      index - the sort term to check
      Returns:
      true if the indexed sort is ascending or if the index is out of bounds
    • getProperty

      public String getProperty(int index)
    • getSorts

      public List<Order.Sort> getSorts()