java.lang.Object
org.springframework.data.aerospike.repository.query.Query

public class Query extends Object
Author:
Peter Milne, Jean Mercier
  • Constructor Details

    • Query

      public Query(CriteriaDefinition criteria)
      Creates new instance of Query with given criteria.
      Parameters:
      criteria - can be null.
  • Method Details

    • getCriteriaObject

      public Qualifier getCriteriaObject()
      Get the Qualifier object.
    • hasOffset

      public boolean hasOffset()
    • hasRows

      public boolean hasRows()
    • orderBy

      public Query orderBy(Sort sort)
      Add given Sort.
      Parameters:
      sort - null Sort will be ignored.
    • skip

      public Query skip(long offset)
      See Also:
      • Query#setOffset(long)
    • limit

      public Query limit(int rows)
      See Also:
      • Query#setRows(int)
    • with

      public Query with(Sort sort)