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

Method TupleDataAsSlice

be/src/runtime/outbound-row-batch.h:57–61  ·  view source on GitHub ↗

Returns the serialized tuple data's buffer as a kudu::Slice. The tuple data is sent as KRPC sidecar.

Source from the content-addressed store, hash-verified

55 /// Returns the serialized tuple data's buffer as a kudu::Slice.
56 /// The tuple data is sent as KRPC sidecar.
57 kudu::Slice TupleDataAsSlice() const {
58 return kudu::Slice(
59 const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(tuple_data_.data())),
60 tuple_data_.length());
61 }
62
63 /// Returns true if the header has been initialized and ready to be sent.
64 /// This entails setting some fields initialized in RowBatch::Serialize().

Callers 4

WriteMethod · 0.80
TEST_FFunction · 0.80
RowBatchMethod · 0.80
DoTransmitDataRpcMethod · 0.80

Calls 3

SliceClass · 0.70
dataMethod · 0.45
lengthMethod · 0.45

Tested by 1

TEST_FFunction · 0.64