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

Method open

gpcontrib/gpcloud/src/gpwriter.cpp:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9void GPWriter::open(const S3Params& params) {
10 this->s3InterfaceService.setRESTfulService(this->restfulServicePtr);
11 this->params = this->params.setPrefix(this->genUniqueKeyName(this->params.getS3Url()));
12 this->commonWriter.setS3InterfaceService(&this->s3InterfaceService);
13 this->commonWriter.open(this->params);
14}
15
16uint64_t GPWriter::write(const char* buf, uint64_t count) {
17 return this->commonWriter.write(buf, count);

Callers 1

writer_initFunction · 0.45

Calls 4

genUniqueKeyNameMethod · 0.95
setRESTfulServiceMethod · 0.80
setPrefixMethod · 0.45
setS3InterfaceServiceMethod · 0.45

Tested by

no test coverage detected