Class CodeScanStatisticsSearchRequest
java.lang.Object
com.persequor.saga.modules.dpp.sdk.CodeScanStatisticsSearchRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
getLimit()
Get the limit for the statistics query.Get the offset for the statistics query.boolean
Get whether to include unknown codes in the statistics query.setIncludeUnknownCodes
(boolean includeUnknownCodes) Set whether to include unknown codes in the statistics query.Set the limit for the statistics query.Set the offset for the statistics query.
-
Method Details
-
build
-
getOffset
Get the offset for the statistics query.- Returns:
- the offset, or null if no offset is set
-
setOffset
Set the offset for the statistics query.Offset is the number of items to skip before starting to collect the result set.
- Parameters:
offset
- number of items to skip, or null to not skip any items- Returns:
- this, for chaining
-
getLimit
Get the limit for the statistics query.- Returns:
- the limit, or null if no limit is set
-
setLimit
Set the limit for the statistics query.Limit is the maximum number of items to return.
If no limit is set the database provider may decide how many items to return, but should attempt to return all items on a best-effort basis.
- Parameters:
limit
- maximum number of items to return, or null to not limit the number of items- Returns:
- this, for chaining
-
isIncludeUnknownCodes
public boolean isIncludeUnknownCodes()Get whether to include unknown codes in the statistics query.- Returns:
- true if unknown codes should be included, false otherwise
-
setIncludeUnknownCodes
Set whether to include unknown codes in the statistics query.Unknown codes are codes that do not have any item data associated with them.
- Parameters:
includeUnknownCodes
- true to include unknown codes, false to exclude them- Returns:
- this, for chaining
-