MCPcopy Create free account
hub / github.com/apache/cloudberry / read

Method read

gpcontrib/gpcloud/src/gpreader.cpp:76–78  ·  view source on GitHub ↗

read() attempts to read up to count bytes into the buffer. Return 0 if EOF. Throw exception if encounters errors.

Source from the content-addressed store, hash-verified

74// read() attempts to read up to count bytes into the buffer.
75// Return 0 if EOF. Throw exception if encounters errors.
76uint64_t GPReader::read(char* buf, uint64_t count) {
77 return this->bucketReader.read(buf, count);
78}
79
80// This should be reentrant, has no side effects when called multiple times.
81void GPReader::close() {

Callers 12

gfile_readFunction · 0.45
UFileReadFunction · 0.45
replacePlanSizeFunction · 0.45
replacePlanInFileFunction · 0.45
get_xerces_sourceFunction · 0.45
__run_commandMethod · 0.45
__init__Method · 0.45
__run_commandMethod · 0.45
reader_transfer_dataFunction · 0.45
do_PUTMethod · 0.45
do_POSTMethod · 0.45
_getcontentMethod · 0.45

Calls

no outgoing calls

Tested by 2

__run_commandMethod · 0.36
__run_commandMethod · 0.36