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
ConstructorDescriptionResponseOrFailure
(Exception exception) ResponseOrFailure
(CanMatchShardResponse response) -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
ResponseOrFailure
-
ResponseOrFailure
-
ResponseOrFailure
- Throws:
IOException
-
-
Method Details
-
getResponse
-
getException
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-