Package io.stargate.sdk.rest.domain
Class QueryWithKey
java.lang.Object
io.stargate.sdk.rest.domain.QueryWithKey
Build a queyr with filter clause
- Author:
- Cedrick LUNVEN (@clunven) QueryDocument.builder() .withPageSize(in) .where("age").isGreaterThan(10)
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNumber of records to retrieve on a page.static final intLimit set for the API. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryWithKey.QueryRowBuilderbuilder()builderGetter accessor for attribute 'fieldsToRetrieve'.Getter accessor for attribute 'fieldsToSort'.intGetter accessor for attribute 'pageSize'.Getter accessor for attribute 'pageState'.
-
Field Details
-
PAGING_SIZE_MAX
public static final int PAGING_SIZE_MAXLimit set for the API.- See Also:
-
DEFAULT_PAGING_SIZE
public static final int DEFAULT_PAGING_SIZENumber of records to retrieve on a page. MAXIMUM 100.- See Also:
-
-
Method Details
-
builder
builder- Returns:
- QueryRowBuilder
-
getPageSize
public int getPageSize()Getter accessor for attribute 'pageSize'.- Returns:
- current value of 'pageSize'
-
getPageState
Getter accessor for attribute 'pageState'.- Returns:
- current value of 'pageState'
-
getFieldsToRetrieve
Getter accessor for attribute 'fieldsToRetrieve'.- Returns:
- current value of 'fieldsToRetrieve'
-
getFieldsToSort
Getter accessor for attribute 'fieldsToSort'.- Returns:
- current value of 'fieldsToSort'
-