Module org.elasticsearch.server
Class TransportFieldCapabilitiesAction.FailureCollector
java.lang.Object
org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesAction.FailureCollector
- Enclosing class:
TransportFieldCapabilitiesAction
Collects failures from all the individual index requests, then builds a failure list grouped by the underlying cause.
This collector can contain a failure for an index even if one of its shards was successful. When building the final
list, these failures will be skipped because they have no affect on the final response.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FailureCollector
public FailureCollector()
-
-
Method Details
-
build
-
collect
-
clear
public void clear() -
isEmpty
public boolean isEmpty()
-