|
||||||||||
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(String index,
String type,
String id,
long version)
|
Method Summary | |
---|---|
String |
getId()
The id of the document indexed. |
String |
getIndex()
The index the document was indexed into. |
List<String> |
getMatches()
Returns the percolate queries matches. |
String |
getType()
The type of the document indexed. |
long |
getVersion()
Returns the version of the doc indexed. |
String |
id()
The id of the document indexed. |
String |
index()
The index the document was indexed into. |
List<String> |
matches()
Returns the percolate queries matches. |
void |
matches(List<String> matches)
Internal. |
void |
readFrom(StreamInput in)
|
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(String index, String type, String id, long version)
Method Detail |
---|
public String index()
public String getIndex()
public String type()
public String getType()
public String id()
public String getId()
public long version()
public long getVersion()
public List<String> matches()
public List<String> getMatches()
public void matches(List<String> matches)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |