Package io.stargate.sdk.doc.domain
Class Query
java.lang.Object
io.stargate.sdk.doc.domain.Query
Bean used to create search at collection level (not paged).
- Author:
- Cedrick LUNVEN (@clunven)
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf we want to filter on fields.protected StringBuild where clause. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryBuilderbuilder()static accees to a builder instanceGetter accessor for attribute 'fieldsToRetrieve'.getWhere()Getter accessor for attribute 'where'.
-
Field Details
-
fieldsToRetrieve
If we want to filter on fields. -
where
Build where clause.
-
-
Constructor Details
-
Query
Explicit constructor.- Parameters:
fieldsToRetrieve- fieldswhere- filter
-
Query
Constructor hidden to enforce builder usage.- Parameters:
builder- filled builder.
-
-
Method Details
-
getWhere
Getter accessor for attribute 'where'.- Returns:
- current value of 'where'
-
getFieldsToRetrieve
Getter accessor for attribute 'fieldsToRetrieve'.- Returns:
- current value of 'fieldsToRetrieve'
-
builder
static accees to a builder instance- Returns:
- SearchDocumentQueryBuilder
-