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.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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:
 validatein classActionRequest
 - 
iterator
- Specified by:
 iteratorin 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:WriteableWrite this into the StreamOutput.- Specified by:
 writeToin interfaceWriteable- Overrides:
 writeToin classActionRequest- Throws:
 IOException
 - 
ids
 - 
size
public int size() - 
realtime
- Specified by:
 realtimein interfaceRealtimeRequest- Parameters:
 realtime- Controls whether this request should be realtime by reading from the translog.
 
 -