greenplumn reader 源码

  • 2022-08-18
  • 浏览 (475)

greenplumn reader 代码

文件路径:/gpcontrib/gpcloud/include/reader.h

#ifndef __S3_READER_H__
#define __S3_READER_H__

#include "s3common_headers.h"
#include "s3params.h"

class Reader {
   public:
    virtual ~Reader() {
    }

    virtual void open(const S3Params &params) = 0;

    // read() attempts to read up to count bytes into the buffer.
    // Always return 0 if EOF, no matter how many times it's invoked. Throw exception if encounters
    // errors.
    virtual uint64_t read(char *buf, uint64_t count) = 0;

    // This should be reentrant, has no side effects when called multiple times.
    virtual void close() = 0;
};

#endif

相关信息

greenplumn 源码目录

相关文章

greenplumn compress_writer 源码

greenplumn decompress_reader 源码

greenplumn gpcheckcloud 源码

greenplumn gpcommon 源码

greenplumn gpreader 源码

greenplumn gpwriter 源码

greenplumn restful_service 源码

greenplumn s3bucket_reader 源码

greenplumn s3common_headers 源码

greenplumn s3common_reader 源码

0  赞