Class MultiTermVectorsResponse.Failure
- java.lang.Object
-
- org.elasticsearch.action.termvectors.MultiTermVectorsResponse.Failure
-
- All Implemented Interfaces:
Streamable
- Enclosing class:
- MultiTermVectorsResponse
public static class MultiTermVectorsResponse.Failure extends java.lang.Object implements Streamable
Represents a failure.
-
-
Constructor Summary
Constructors Constructor Description Failure(java.lang.String index, java.lang.String type, java.lang.String id, java.lang.Exception cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getCause()
The failure cause.java.lang.String
getId()
The id of the action.java.lang.String
getIndex()
The index name of the action.java.lang.String
getType()
The type of the action.static MultiTermVectorsResponse.Failure
readFailure(StreamInput in)
void
readFrom(StreamInput in)
Set this object's fields from a StreamInput.void
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
-
-
-
Method Detail
-
getIndex
public java.lang.String getIndex()
The index name of the action.
-
getType
public java.lang.String getType()
The type of the action.
-
getId
public java.lang.String getId()
The id of the action.
-
getCause
public java.lang.Exception getCause()
The failure cause.
-
readFailure
public static MultiTermVectorsResponse.Failure readFailure(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
Description copied from interface:Streamable
Set this object's fields from a StreamInput.- Specified by:
readFrom
in interfaceStreamable
- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Streamable
Write this object's fields to a StreamOutput.- Specified by:
writeTo
in interfaceStreamable
- Throws:
java.io.IOException
-
-