public class GetIndexedScriptResponse extends ActionResponseimplements Iterable <GetField >, ToXContent
GetIndexedScriptRequest
TransportResponse.Empty ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params headersEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The id of the document.
|
String |
getScript()
The source of the document (as a string).
|
String |
getScriptLang()
The type of the document.
|
long |
getVersion()
The version of the doc.
|
boolean |
isExists()
Does the document exists.
|
Iterator |
iterator()
|
void |
readFrom(StreamInput
|
XContentBuilder |
toXContent(XContentBuilder
|
void |
writeTo(StreamOutput
|
putHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic boolean isExists()
public StringgetScriptLang()
public StringgetId()
public long getVersion()
public StringgetScript()
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
toXContent in interface
ToXContent
IOException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
readFrom in class
ActionResponse
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
writeTo in class
ActionResponse
IOException