public class ShardFetchRequest extends TransportRequest
TransportRequest.Emptyheaders| Modifier | Constructor and Description |
|---|---|
|
ShardFetchRequest() |
|
ShardFetchRequest(SearchScrollRequest request,
long id,
com.carrotsearch.hppc.IntArrayList list,
org.apache.lucene.search.ScoreDoc lastEmittedDoc) |
protected |
ShardFetchRequest(TransportRequest originalRequest,
long id,
com.carrotsearch.hppc.IntArrayList list,
org.apache.lucene.search.ScoreDoc lastEmittedDoc) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
docIds() |
int |
docIdsSize() |
long |
id() |
org.apache.lucene.search.ScoreDoc |
lastEmittedDoc() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
createTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ShardFetchRequest()
public ShardFetchRequest(SearchScrollRequest request, long id, com.carrotsearch.hppc.IntArrayList list, org.apache.lucene.search.ScoreDoc lastEmittedDoc)
protected ShardFetchRequest(TransportRequest originalRequest, long id, com.carrotsearch.hppc.IntArrayList list, org.apache.lucene.search.ScoreDoc lastEmittedDoc)
public long id()
public int[] docIds()
public int docIdsSize()
public org.apache.lucene.search.ScoreDoc lastEmittedDoc()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class TransportMessage<TransportRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class TransportMessage<TransportRequest>IOExceptionCopyright © 2009–2017. All rights reserved.