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
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()Deprecated.Types are in the process of being removed.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
@Deprecated public java.lang.String getType()
Deprecated.Types are in the process of being removed.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
-
-