Class GetFacetStatsResult
java.lang.Object
io.fluxzero.common.api.AbstractRequestResult
io.fluxzero.common.api.search.GetFacetStatsResult
- All Implemented Interfaces:
JsonType, RequestResult
Result returned for a
GetFacetStats request.
Contains aggregated counts of documents per facet field value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLightweight summary of the facet statistics result, used for internal metric tracking. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoMetric()Converts this object into a compact metric representation for logging or monitoring.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
-
GetFacetStatsResult
public GetFacetStatsResult()
-
-
Method Details
-
toMetric
Description copied from interface:JsonTypeConverts this object into a compact metric representation for logging or monitoring.Used by the Fluxzero Java SDK to avoid logging large payloads directly while still tracking platform usage.
- Returns:
- a safe and compact object suitable for serialization to the metrics log
-