public class SearchTemplateRequest extends ActionRequest implements CompositeIndicesRequest
TransportRequest.Empty| Constructor and Description |
|---|
SearchTemplateRequest() |
SearchTemplateRequest(SearchRequest searchRequest) |
| Modifier and Type | Method and Description |
|---|---|
SearchRequest |
getRequest() |
java.lang.String |
getScript() |
java.util.Map<java.lang.String,java.lang.Object> |
getScriptParams() |
ScriptType |
getScriptType() |
boolean |
isExplain() |
boolean |
isProfile() |
boolean |
isSimulate() |
void |
readFrom(StreamInput in) |
void |
setExplain(boolean explain) |
void |
setProfile(boolean profile) |
void |
setRequest(SearchRequest request) |
void |
setScript(java.lang.String script) |
void |
setScriptParams(java.util.Map<java.lang.String,java.lang.Object> scriptParams) |
void |
setScriptType(ScriptType scriptType) |
void |
setSimulate(boolean simulate) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
getShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic SearchTemplateRequest()
public SearchTemplateRequest(SearchRequest searchRequest)
public void setRequest(SearchRequest request)
public SearchRequest getRequest()
public boolean isSimulate()
public void setSimulate(boolean simulate)
public boolean isExplain()
public void setExplain(boolean explain)
public boolean isProfile()
public void setProfile(boolean profile)
public ScriptType getScriptType()
public void setScriptType(ScriptType scriptType)
public java.lang.String getScript()
public void setScript(java.lang.String script)
public java.util.Map<java.lang.String,java.lang.Object> getScriptParams()
public void setScriptParams(java.util.Map<java.lang.String,java.lang.Object> scriptParams)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic void readFrom(StreamInput in) throws java.io.IOException
readFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
writeTo in interface StreamablewriteTo in class ActionRequestjava.io.IOException