Class GetDocumentsResult
java.lang.Object
io.fluxzero.common.api.AbstractRequestResult
io.fluxzero.common.api.search.GetDocumentsResult
- All Implemented Interfaces:
JsonType, RequestResult
Result returned in response to a
GetDocuments request.
This result includes a collection of documents identified by their ID and collection,
or null if the document could not be found.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLightweight structure for representingGetDocumentsResultin Fluxzero metrics logs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoMetric()Converts this result to a compact representation for metrics logging.Methods inherited from class AbstractRequestResult
getRequestReceivedTimestamp, getResponseQueuedTimestamp, getResponseSendStartTimestamp, setRequestReceivedTimestamp, setResponseQueuedTimestamp, setResponseSendStartTimestampMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
GetDocumentsResult
public GetDocumentsResult()
-
-
Method Details
-
toMetric
Converts this result to a compact representation for metrics logging.- Returns:
- a
GetDocumentsResult.Metriccontaining only the response timestamp.
-