Class MultiTermVectorsResponse.Failure
java.lang.Object
org.elasticsearch.action.termvectors.MultiTermVectorsResponse.Failure
- All Implemented Interfaces:
Writeable
- Enclosing class:
- MultiTermVectorsResponse
public static class MultiTermVectorsResponse.Failure extends java.lang.Object implements Writeable
Represents a failure.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Constructor Description Failure(java.lang.String index, java.lang.String type, java.lang.String id, java.lang.Exception cause)Failure(StreamInput in) -
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.voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Constructor Details
-
Method Details
-
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. -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.
-