Class SearchTableQuery.SearchTableQueryBuilder

java.lang.Object
io.stargate.sdk.rest.domain.SearchTableQuery.SearchTableQueryBuilder
Enclosing class:
SearchTableQuery

public static class SearchTableQuery.SearchTableQueryBuilder extends Object
Builder pattern.
Author:
Cedrick LUNVEN (@clunven)
  • Field Details

    • pageSize

      protected int pageSize
      Page size.
    • pageState

      protected String pageState
      First page does not need page state.
    • fieldsToRetrieve

      protected List<String> fieldsToRetrieve
      If empty the API retrieve all fields SELECT *.
    • fieldsToSort

      protected List<Sort> fieldsToSort
      Help sorted by result. fieldName + ASC/DESC.
    • whereClause

      protected String whereClause
      One can provide the full where clause as a JSON String. If not null it will be used and the filters will be ignored.
    • filters

      protected List<Filter> filters
      Use to build the where Clause as a JsonString if the field whereClause is not provided. - FieldName + condition + value
  • Constructor Details

    • SearchTableQueryBuilder

      public SearchTableQueryBuilder()
      Default constructor.
  • Method Details