MCPcopy Create free account
hub / github.com/apache/impala / TransferFinished

Method TransferFinished

be/src/kudu/rpc/transfer.cc:177–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177bool InboundTransfer::TransferFinished() const {
178 return total_length_ > 0 && cur_offset_ == total_length_;
179}
180
181string InboundTransfer::StatusAsString() const {
182 return Substitute("$0/$1 bytes received", cur_offset_, total_length_);

Callers 2

ReadHandlerMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected