public class ShardFetchRequest extends TransportRequest
TransportRequest.Empty
Constructor and Description |
---|
ShardFetchRequest() |
ShardFetchRequest(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)
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
createTask, getDescription
remoteAddress, remoteAddress
public ShardFetchRequest()
public ShardFetchRequest(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 java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportMessage
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class TransportMessage
java.io.IOException