Package ddf.catalog.operation
Interface SourceResponse
- All Superinterfaces:
Operation,Response<QueryRequest>,Serializable
- All Known Subinterfaces:
QueryResponse
Query status should come back in the properties.
- Author:
- Michael Menousek
-
Method Summary
Modifier and TypeMethodDescriptionlonggetHits()Set<? extends SourceProcessingDetails>Get any specific details about the execution of theQueryRequestassociated with thisSourceResponse.Get theResults of the associatedQueryRequestMethods inherited from interface ddf.catalog.operation.Operation
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasPropertiesMethods inherited from interface ddf.catalog.operation.Response
getProcessingErrors, getRequest
-
Method Details
-
getHits
long getHits()The total number of hits matching the associatedQueryfor the associatedSource, -1 if unknown. This is typically more than the number ofResults returned fromgetResults().- Returns:
- long - total hits matching this
Query, -1 if unknown.
-
getResults
Get theResults of the associatedQueryRequest- Returns:
- the results
-
getProcessingDetails
Set<? extends SourceProcessingDetails> getProcessingDetails()Get any specific details about the execution of theQueryRequestassociated with thisSourceResponse. Must not be null.- Returns:
- the processing details
-