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.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()
Deprecated.Types are in the process of being removed.void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Failure
public Failure(java.lang.String index, java.lang.String type, java.lang.String id, java.lang.Exception cause) -
Failure
- Throws:
java.io.IOException
-
-
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:Writeable
Write this into the StreamOutput.
-