OmniSciDB
a5dc49c757
|
#include <Archive.h>
Public Member Functions | |
Archive (const std::string url, const bool plain_text) | |
virtual | ~Archive () |
virtual std::string | archive_error (int err) |
virtual bool | read_next_header () |
virtual bool | read_data_block (const void **buff, size_t *size, int64_t *offset) |
virtual int64_t | get_position_compressed () const |
virtual int | open () |
virtual int | close () |
virtual ptrdiff_t | read (const void **buff) |
virtual void | init_for_read () |
const std::string | url_part (const int i) |
std::string | entryName () |
Static Public Member Functions | |
static ptrdiff_t | read (struct archive *a, void *client_data, const void **buff) |
static int | open (struct archive *a, void *client_data) |
static int | close (struct archive *a, void *client_data) |
static void | parse_url (const std::string url, std::map< int, std::string > &url_parts) |
Protected Attributes | |
std::string | url |
std::map< int, std::string > | url_parts |
archive * | ar = 0 |
archive_entry * | entry |
bool | plain_text |
|
inline |
! LIBARCHIVE_ENABLE_ALL may trigger exception "detect_column_types error: libarchive error: Missing type keyword in mtree specification" ! on ridiculously simple raw data
Definition at line 34 of file Archive.h.
References ar, parse_url(), and url_parts.
|
inlinevirtual |
Definition at line 93 of file Archive.h.
References ar, and to_string().
Referenced by read_data_block(), and read_next_header().
|
inlinevirtual |
Definition at line 139 of file Archive.h.
Referenced by heavydb.connection.Connection::__del__(), heavydb.cursor.Cursor::__exit__(), heavydb.connection.Connection::__exit__(), and init_for_read().
|
inlinestatic |
Definition at line 160 of file Archive.h.
Referenced by heavydb.connection.Connection::__del__(), heavydb.cursor.Cursor::__exit__(), and heavydb.connection.Connection::__exit__().
|
inline |
|
inlinevirtual |
Definition at line 121 of file Archive.h.
References ar.
Referenced by PosixFileArchive::read_data_block().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 136 of file Archive.h.
Referenced by init_for_read().
|
inlinestatic |
|
inlinestatic |
Definition at line 164 of file Archive.h.
Referenced by Archive(), and import_export::DataStreamSink::import_compressed().
|
inlinevirtual |
Definition at line 142 of file Archive.h.
Referenced by init_for_read().
|
inlinestatic |
|
inlinevirtual |
Reimplemented in PosixFileArchive.
Definition at line 110 of file Archive.h.
References ar, and archive_error().
Referenced by PosixFileArchive::read_data_block().
|
inlinevirtual |
Reimplemented in PosixFileArchive.
Definition at line 99 of file Archive.h.
References ar, archive_error(), and entry.
Referenced by PosixFileArchive::read_next_header().
|
inline |
Definition at line 193 of file Archive.h.
References url_parts.
Referenced by PosixFileArchive::init_for_read(), and PosixFileArchive::PosixFileArchive().
|
protected |
Definition at line 204 of file Archive.h.
Referenced by Archive(), archive_error(), get_position_compressed(), PosixFileArchive::init_for_read(), init_for_read(), read_data_block(), read_next_header(), and ~Archive().
|
protected |
Definition at line 205 of file Archive.h.
Referenced by entryName(), and read_next_header().
|
protected |
Definition at line 206 of file Archive.h.
Referenced by PosixFileArchive::init_for_read(), PosixFileArchive::read_data_block(), and PosixFileArchive::read_next_header().
|
protected |
Definition at line 203 of file Archive.h.
Referenced by Archive(), and url_part().