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

Method open

gpcontrib/gpcloud/src/gpreader.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void GPReader::open(const S3Params& params) {
67 this->s3InterfaceService.setRESTfulService(this->restfulServicePtr);
68 this->bucketReader.setS3InterfaceService(&this->s3InterfaceService);
69 this->bucketReader.setUpstreamReader(&this->commonReader);
70 this->commonReader.setS3InterfaceService(&this->s3InterfaceService);
71 this->bucketReader.open(this->params);
72}
73
74// read() attempts to read up to count bytes into the buffer.
75// Return 0 if EOF. Throw exception if encounters errors.

Callers 15

mainFunction · 0.45
loadMethod · 0.45
saveMethod · 0.45
UFileOpenFunction · 0.45
get_xerces_sourceFunction · 0.45
reader_initFunction · 0.45
run_exkeysFunction · 0.45
from_package_pathMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
test03_query_listMethod · 0.45

Calls 3

setRESTfulServiceMethod · 0.80
setUpstreamReaderMethod · 0.80
setS3InterfaceServiceMethod · 0.45