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

Method close

gpcontrib/gpcloud/src/s3bucket_reader.cpp:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void S3BucketReader::close() {
132 if (this->upstreamReader != NULL) {
133 this->upstreamReader->close();
134 this->upstreamReader = NULL;
135 }
136
137 if (!this->keyList.contents.empty()) {
138 this->keyList.contents.clear();
139 }
140}

Callers 2

~S3BucketReaderMethod · 0.95
readMethod · 0.45

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected