Class DocumentFindResult
java.lang.Object
ydocumentcartpackage.persistence.polyglot.repository.documentcart.DocumentFindResult
- All Implemented Interfaces:
FindResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentFindResultintgetCount()Gets the size of result collection with respect to specified range or -1 if method is not supportedintIf requested in search criteria gets overall count of the search result without respecting a specified search range otherwise could return -1
-
Method Details
-
from
-
getCount
public int getCount()Description copied from interface:FindResultGets the size of result collection with respect to specified range or -1 if method is not supported- Specified by:
getCountin interfaceFindResult- Returns:
- the size of search result with respect to specified range, or -1 if method is not supported
-
getTotalCount
public int getTotalCount()Description copied from interface:FindResultIf requested in search criteria gets overall count of the search result without respecting a specified search range otherwise could return -1- Specified by:
getTotalCountin interfaceFindResult- Returns:
- the size of overall search result if requested in search criteria, or -1 if the total count is not needed
-
getResult
- Specified by:
getResultin interfaceFindResult
-