Class AbstractSearchSetResponse<T>
java.lang.Object
com.iland.core.web.rest.response.common.SetResponse<T>
com.iland.core.web.rest.response.vbo.AbstractSearchSetResponse<T>
- Type Parameters:
T- the search hit type
- All Implemented Interfaces:
Serializable,Iterable<T>
- Direct Known Subclasses:
O365MailItemSearchSetResponse,O365SharePointItemSearchSetResponse
Base class for paginated search result sets. Carries the search session uuid
and the resolved
offset/limit for "fetch until empty" paging
(Veeam exposes no total count).- See Also:
-
Field Summary
Fields inherited from class com.iland.core.web.rest.response.common.SetResponse
data -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSearchSetResponse(String searchSessionUuid, int offset, int limit, Set<T> data) Create a search set response. -
Method Summary
Methods inherited from class com.iland.core.web.rest.response.common.SetResponse
getData, iteratorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractSearchSetResponse
Create a search set response.- Parameters:
searchSessionUuid- the search session uuidoffset- the result offset applied to this pagelimit- the result limit applied to this pagedata- the search results
-
-
Method Details
-
getSearchSessionUuid
Returns the search session uuid.- Returns:
- the search session uuid
-
getOffset
public int getOffset()Returns the result offset applied to this page.- Returns:
- the offset
-
getLimit
public int getLimit()Returns the result limit applied to this page.- Returns:
- the limit
-
equals
- Overrides:
equalsin classSetResponse<T>
-
hashCode
public int hashCode()- Overrides:
hashCodein classSetResponse<T>
-