|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.action.index.IndexResponse
public class IndexResponse
A response of an index operation,
IndexRequest
,
Client.index(IndexRequest)
Constructor Summary | |
---|---|
IndexResponse()
|
|
IndexResponse(java.lang.String index,
java.lang.String type,
java.lang.String id,
long version)
|
Method Summary | |
---|---|
java.lang.String |
getId()
The id of the document indexed. |
java.lang.String |
getIndex()
The index the document was indexed into. |
java.util.List<java.lang.String> |
getMatches()
Returns the percolate queries matches. |
java.lang.String |
getType()
The type of the document indexed. |
long |
getVersion()
Returns the version of the doc indexed. |
java.lang.String |
id()
The id of the document indexed. |
java.lang.String |
index()
The index the document was indexed into. |
java.util.List<java.lang.String> |
matches()
Returns the percolate queries matches. |
void |
matches(java.util.List<java.lang.String> matches)
Internal. |
void |
readFrom(StreamInput in)
|
java.lang.String |
type()
The type of the document indexed. |
long |
version()
Returns the version of the doc indexed. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexResponse()
public IndexResponse(java.lang.String index, java.lang.String type, java.lang.String id, long version)
Method Detail |
---|
public java.lang.String index()
public java.lang.String getIndex()
public java.lang.String type()
public java.lang.String getType()
public java.lang.String id()
public java.lang.String getId()
public long version()
public long getVersion()
public java.util.List<java.lang.String> matches()
public java.util.List<java.lang.String> getMatches()
public void matches(java.util.List<java.lang.String> matches)
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |