Interface CardinalityResponse
- All Superinterfaces:
DataRetrievalResponse<Integer>
- All Known Implementing Classes:
CachedCardinalityResponse,CardinalityResponseImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the cardinality value associated with this response.Methods inherited from interface se.liu.ida.hefquin.federation.access.DataRetrievalResponse
getErrorDescription, getErrorStatusCode, getException, getRequestDuration, getRequestStartTime, getResponseData, getRetrievalEndTime, isDefective, isError
-
Method Details
-
getCardinality
Returns the cardinality value associated with this response. The cardinality represents the number of result items obtained or estimated.- Returns:
- the cardinality value
- Throws:
UnsupportedOperationDueToRetrievalError- if the response to the corresponding request was an error message (seeDataRetrievalResponse.isError()) or the response is defective (seeDataRetrievalResponse.isDefective()).
-