Module org.elasticsearch.server
Package org.elasticsearch.action.search
Class CanMatchNodeResponse.ResponseOrFailure
java.lang.Object
org.elasticsearch.action.search.CanMatchNodeResponse.ResponseOrFailure
- All Implemented Interfaces:
Writeable
- Enclosing class:
CanMatchNodeResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionResponseOrFailure(Exception exception) ResponseOrFailure(CanMatchShardResponse response) -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
ResponseOrFailure
-
ResponseOrFailure
-
ResponseOrFailure
- Throws:
IOException
-
-
Method Details
-
getResponse
-
getException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-