public class PutChunkRequest extends BlobTransferRequest<PutChunkRequest> implements IPutChunkRequest
Constructor and Description |
---|
PutChunkRequest() |
PutChunkRequest(java.lang.String index,
byte[] digest,
java.util.UUID transferId,
org.elasticsearch.common.bytes.BytesArray content,
long currentPos,
boolean last) |
Modifier and Type | Method and Description |
---|---|
long |
currentPos() |
java.lang.String |
digest() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
content, isLast, transferId
canHaveDuplicates, consistencyLevel, consistencyLevel, createTask, getDescription, index, index, indices, indicesOptions, setShardId, shardId, timeout, timeout, timeout, toString, validate
createTask, setParentTask
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
content, isLast, transferId
public PutChunkRequest()
public PutChunkRequest(java.lang.String index, byte[] digest, java.util.UUID transferId, org.elasticsearch.common.bytes.BytesArray content, long currentPos, boolean last)
public java.lang.String digest()
public long currentPos()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
readFrom
in interface org.elasticsearch.common.io.stream.Streamable
readFrom
in class BlobTransferRequest<PutChunkRequest>
java.io.IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
writeTo
in interface org.elasticsearch.common.io.stream.Streamable
writeTo
in class BlobTransferRequest<PutChunkRequest>
java.io.IOException