Class AbstractCommonResultsBuilder<T>

  • Direct Known Subclasses:
    ResultsAbstractBuilder

    public abstract class AbstractCommonResultsBuilder<T>
    extends java.lang.Object
    • Constructor Detail

      • AbstractCommonResultsBuilder

        public AbstractCommonResultsBuilder()
    • Method Detail

      • withStart

        public T withStart​(java.lang.Long start)
      • withSize

        public T withSize​(java.lang.Long size)
      • withField

        public T withField​(java.lang.String field)
      • withFields

        public T withFields​(java.util.List<java.lang.String> fields)
      • withSort

        public T withSort​(java.util.List<SortElement> sorts)
      • withSortByRelevancy

        public T withSortByRelevancy()
      • withSortAsc

        public T withSortAsc​(java.lang.String value)
      • withSortDesc

        public T withSortDesc​(java.lang.String value)
      • withSortExpressionAsc

        public T withSortExpressionAsc​(java.lang.String expression)
      • withSortExpressionDesc

        public T withSortExpressionDesc​(java.lang.String expression)
      • withSortByQueryDesc

        public QueryBuilder<T> withSortByQueryDesc()
      • withSortByQueryDesc

        public T withSortByQueryDesc​(Query query)
      • withSortByQueryAsc

        public QueryBuilder<T> withSortByQueryAsc()
      • withSortByQueryAsc

        public T withSortByQueryAsc​(Query query)