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.ExceptiongetCause()The failure cause.java.lang.StringgetId()The id of the action.java.lang.StringgetIndex()The index name of the action.java.lang.StringgetType()The type of the action.static MultiTermVectorsResponse.FailurereadFailure(StreamInput in)voidreadFrom(StreamInput in)Set this object's fields from a StreamInput.voidwriteTo(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:StreamableSet this object's fields from a StreamInput.- Specified by:
readFromin interfaceStreamable- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:StreamableWrite this object's fields to a StreamOutput.- Specified by:
writeToin interfaceStreamable- Throws:
java.io.IOException
-
-