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 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>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExceptiongetCause()The failure cause.StringgetId()The id of the action.StringgetIndex()The index name of the action.StringgetType()Deprecated.Types are in the process of being removed.voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
-
-
Constructor Detail
-
Failure
public Failure(StreamInput in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getIndex
public String getIndex()
The index name of the action.
-
getType
@Deprecated public String getType()
Deprecated.Types are in the process of being removed.The type of the action.
-
getId
public String getId()
The id of the action.
-
getCause
public Exception getCause()
The failure cause.
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
-