Class MultiTermVectorsItemResponse
- java.lang.Object
-
- org.elasticsearch.action.termvectors.MultiTermVectorsItemResponse
-
-
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 MultiTermVectorsItemResponse(TermVectorsResponse response, MultiTermVectorsResponse.Failure failure)
-
Method Summary
Modifier and Type Method Description MultiTermVectorsResponse.FailuregetFailure()The failure if relevant.java.lang.StringgetId()The id of the document.java.lang.StringgetIndex()The index name of the document.TermVectorsResponsegetResponse()The actual get response,nullif its a failure.java.lang.StringgetType()The type of the document.booleanisFailed()Is this a failed execution?voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
-
-
Constructor Detail
-
MultiTermVectorsItemResponse
public MultiTermVectorsItemResponse(TermVectorsResponse response, MultiTermVectorsResponse.Failure failure)
-
-
Method Detail
-
getIndex
public java.lang.String getIndex()
The index name of the document.
-
getType
public java.lang.String getType()
The type of the document.
-
getId
public java.lang.String getId()
The id of the document.
-
isFailed
public boolean isFailed()
Is this a failed execution?
-
getResponse
public TermVectorsResponse getResponse()
The actual get response,nullif its a failure.
-
getFailure
public MultiTermVectorsResponse.Failure getFailure()
The failure if relevant.
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:WriteableWrite this into the StreamOutput.
-
-