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

Method getXMLContext

gpcontrib/gpcloud/src/s3interface.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145};
146
147xmlParserCtxtPtr S3InterfaceService::getXMLContext(Response &response) {
148 xmlParserCtxtPtr xmlptr =
149 xmlCreatePushParserCtxt(NULL, NULL, (const char *)(response.getRawData().data()),
150 response.getRawData().size(), "getXMLContext.xml");
151 if (xmlptr != NULL) {
152 xmlParseChunk(xmlptr, "", 0, 1);
153 } else {
154 S3ERROR("Failed to create XML parser context");
155 }
156 return xmlptr;
157}
158
159// require curl 7.17 higher
160// http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html

Callers

nothing calls this directly

Calls 2

getRawDataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected