Class MultiTermVectorsRequest
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.termvectors.MultiTermVectorsRequest
- All Implemented Interfaces:
<TermVectorsRequest>
,CompositeIndicesRequest
,RealtimeRequest
,Writeable
,org.elasticsearch.core.RefCounted
,TaskAwareRequest
public class MultiTermVectorsRequest
extends ActionRequest
implements <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 TypeMethodDescriptionindex, type, id)
add(TermVectorsRequest termVectorsRequest)
void
add(TermVectorsRequest template, org.elasticsearch.common.xcontent.XContentParser parser)
void
[] ids)
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.
, , , , , , , , ,
Methods inherited from interface java.lang.
,
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
MultiTermVectorsRequest
- Throws:
-
MultiTermVectorsRequest
public MultiTermVectorsRequest()
-
-
Method Details
-
add
-
add
public index, @Nullable type, id) -
validate
- Specified by:
validate
in classActionRequest
-
iterator
- Specified by:
in interface
<TermVectorsRequest>
-
isEmpty
public boolean isEmpty() -
getRequests
-
add
public void add(TermVectorsRequest template, @Nullable org.elasticsearch.common.xcontent.XContentParser parser) throws- Throws:
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classActionRequest
- Throws:
-
ids
public void ids([] 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.
-