java.lang.Iterable<TermVectorsRequest>, CompositeIndicesRequest, RealtimeRequest, Streamable, Writeable, TaskAwareRequestpublic class MultiTermVectorsRequest extends ActionRequest implements java.lang.Iterable<TermVectorsRequest>, CompositeIndicesRequest, RealtimeRequest
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
MultiTermVectorsRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
MultiTermVectorsRequest |
add(java.lang.String index,
java.lang.String type,
java.lang.String id) |
|
MultiTermVectorsRequest |
add(TermVectorsRequest termVectorsRequest) |
|
void |
add(TermVectorsRequest template,
XContentParser parser) |
|
java.util.List<TermVectorsRequest> |
getRequests() |
|
void |
ids(java.lang.String[] ids) |
|
boolean |
isEmpty() |
|
java.util.Iterator<TermVectorsRequest> |
iterator() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
MultiTermVectorsRequest |
realtime(boolean realtime) |
|
int |
size() |
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic MultiTermVectorsRequest add(TermVectorsRequest termVectorsRequest)
public MultiTermVectorsRequest add(java.lang.String index, @Nullable java.lang.String type, java.lang.String id)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic java.util.Iterator<TermVectorsRequest> iterator()
iterator in interface java.lang.Iterable<TermVectorsRequest>public boolean isEmpty()
public java.util.List<TermVectorsRequest> getRequests()
public void add(TermVectorsRequest template, @Nullable XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ActionRequestjava.io.IOExceptionpublic void ids(java.lang.String[] ids)
public int size()
public MultiTermVectorsRequest realtime(boolean realtime)
realtime in interface RealtimeRequestrealtime - Controls whether this request should be realtime by reading from the translog.