public class ShardFetchRequest extends TransportRequest
TransportRequest.Empty
headers
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, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public 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 Streamable
readFrom
in class TransportMessage<TransportRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class TransportMessage<TransportRequest>
IOException
Copyright © 2009–2016. All rights reserved.