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 SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequestTransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionadd(TermVectorsRequest termVectorsRequest)voidadd(TermVectorsRequest template, org.elasticsearch.common.xcontent.XContentParser parser)voidbooleanisEmpty()iterator()realtime(boolean realtime)intsize()validate()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.ActionRequestgetShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequestgetParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequestcreateTask, getDescription, setParentTask
- 
Constructor Details- 
MultiTermVectorsRequest- Throws:
- IOException
 
- 
MultiTermVectorsRequestpublic MultiTermVectorsRequest()
 
- 
- 
Method Details- 
add
- 
add
- 
validate- Specified by:
- validatein class- ActionRequest
 
- 
iterator- Specified by:
- iteratorin interface- Iterable<TermVectorsRequest>
 
- 
isEmptypublic boolean isEmpty()
- 
getRequests
- 
addpublic void add(TermVectorsRequest template, @Nullable org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
- IOException
 
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- ActionRequest
- Throws:
- IOException
 
- 
ids
- 
sizepublic int size()
- 
realtime- Specified by:
- realtimein interface- RealtimeRequest
- Parameters:
- realtime- Controls whether this request should be realtime by reading from the translog.
 
 
-