Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | List of all members
arrow::py::PyBytesReader Class Reference

#include <arrow/python/io.h>

Inheritance diagram for arrow::py::PyBytesReader:
arrow::io::BufferReader arrow::io::RandomAccessFile arrow::io::InputStream arrow::io::Seekable arrow::io::FileInterface arrow::io::Readable

Public Member Functions

 PyBytesReader (PyObject *obj)
 
virtual ~PyBytesReader ()
 
- Public Member Functions inherited from arrow::io::BufferReader
 BufferReader (const std::shared_ptr< Buffer > &buffer)
 
 BufferReader (const uint8_t *data, int64_t size)
 
Status Close () override
 
Status Tell (int64_t *position) const override
 
Status Read (int64_t nbytes, int64_t *bytes_read, uint8_t *buffer) override
 
Status Read (int64_t nbytes, std::shared_ptr< Buffer > *out) override
 
Status ReadAt (int64_t position, int64_t nbytes, int64_t *bytes_read, uint8_t *out) override
 Read nbytes at position, provide default implementations using Read(...), but can be overridden. More...
 
Status ReadAt (int64_t position, int64_t nbytes, std::shared_ptr< Buffer > *out) override
 Default implementation is thread-safe. More...
 
Status GetSize (int64_t *size) override
 
Status Seek (int64_t position) override
 
bool supports_zero_copy () const override
 
std::shared_ptr< Bufferbuffer () const
 
- Public Member Functions inherited from arrow::io::RandomAccessFile
 ~RandomAccessFile () override
 Necessary because we hold a std::unique_ptr. More...
 
- Public Member Functions inherited from arrow::io::FileInterface
virtual ~FileInterface ()=0
 
FileMode::type mode () const
 
- Public Member Functions inherited from arrow::io::Readable
virtual ~Readable ()=default
 
- Public Member Functions inherited from arrow::io::Seekable
virtual ~Seekable ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from arrow::io::RandomAccessFile
 RandomAccessFile ()
 
- Protected Member Functions inherited from arrow::io::InputStream
 InputStream ()=default
 
- Protected Member Functions inherited from arrow::io::FileInterface
 FileInterface ()
 
void set_mode (FileMode::type mode)
 
- Protected Attributes inherited from arrow::io::BufferReader
std::shared_ptr< Bufferbuffer_
 
const uint8_t * data_
 
int64_t size_
 
int64_t position_
 
- Protected Attributes inherited from arrow::io::FileInterface
FileMode::type mode_
 

Constructor & Destructor Documentation

◆ PyBytesReader()

arrow::py::PyBytesReader::PyBytesReader ( PyObject *  obj)
explicit

◆ ~PyBytesReader()

virtual arrow::py::PyBytesReader::~PyBytesReader ( )
virtual

The documentation for this class was generated from the following file: