Class MultiTermVectorsRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.termvectors.MultiTermVectorsRequest
- All Implemented Interfaces:
Iterable<TermVectorsRequest>
,CompositeIndicesRequest
,RealtimeRequest
,Writeable
,org.elasticsearch.core.RefCounted
,TaskAwareRequest
public class MultiTermVectorsRequest
extends ActionRequest
implements Iterable<TermVectorsRequest>, CompositeIndicesRequest, RealtimeRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd(TermVectorsRequest termVectorsRequest)
void
add(TermVectorsRequest template, org.elasticsearch.common.xcontent.XContentParser parser)
void
boolean
isEmpty()
iterator()
realtime(boolean realtime)
int
size()
validate()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask, toString
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
MultiTermVectorsRequest
- Throws:
IOException
-
MultiTermVectorsRequest
public MultiTermVectorsRequest()
-
-
Method Details
-
add
-
add
-
validate
- Specified by:
validate
in classActionRequest
-
iterator
- Specified by:
iterator
in interfaceIterable<TermVectorsRequest>
-
isEmpty
public boolean isEmpty() -
getRequests
-
add
public void add(TermVectorsRequest template, @Nullable org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classActionRequest
- Throws:
IOException
-
ids
-
size
public int size() -
realtime
- Specified by:
realtime
in interfaceRealtimeRequest
- Parameters:
realtime
- Controls whether this request should be realtime by reading from the translog.
-