Skip to content

Class cubload::batch

ClassList > cubload > batch

  • #include <load_common.hpp>

Inherits the following classes: cubpacking::packable_object

Public Functions

Type Name
batch ()
batch (batch_id id, class_id clsid, std::string & content, int64_t line_offset, int64_t rows)
batch (batch && other) noexcept
batch (const batch & copy) = delete
class_id get_class_id () const
const std::string & get_content () const
batch_id get_id () const
int64_t get_line_offset () const
virtual size_t get_packed_size (cubpacking::packer & serializator, std::size_t start_offset) override const
int64_t get_rows_number () const
batch & operator= (batch && other) noexcept
batch & operator= (const batch & copy) = delete
virtual void pack (cubpacking::packer & serializator) override const
virtual void unpack (cubpacking::unpacker & deserializator) override

Public Functions inherited from cubpacking::packable_object

See cubpacking::packable_object

Type Name
virtual size_t get_packed_size (packer & serializator, std::size_t start_offset=0) const = 0
virtual bool is_equal (const packable_object * other)
virtual void pack (packer & serializator) const = 0
virtual void unpack (unpacker & deserializator) = 0
virtual ~packable_object ()

Public Functions Documentation

function batch [1/4]

cubload::batch::batch () 

function batch [2/4]

cubload::batch::batch (
    batch_id id,
    class_id clsid,
    std::string & content,
    int64_t line_offset,
    int64_t rows
) 

function batch [3/4]

cubload::batch::batch (
    batch && other
) noexcept

function batch [4/4]

cubload::batch::batch (
    const  batch & copy
) = delete

function get_class_id

class_id cubload::batch::get_class_id () const

function get_content

const std::string & cubload::batch::get_content () const

function get_id

batch_id cubload::batch::get_id () const

function get_line_offset

int64_t cubload::batch::get_line_offset () const

function get_packed_size

virtual size_t cubload::batch::get_packed_size (
    cubpacking::packer & serializator,
    std::size_t start_offset
) override const

Implements cubpacking::packable_object::get_packed_size


function get_rows_number

int64_t cubload::batch::get_rows_number () const

function operator=

batch & cubload::batch::operator= (
    batch && other
) noexcept

function operator=

batch & cubload::batch::operator= (
    const  batch & copy
) = delete

function pack

virtual void cubload::batch::pack (
    cubpacking::packer & serializator
) override const

Implements cubpacking::packable_object::pack


function unpack

virtual void cubload::batch::unpack (
    cubpacking::unpacker & deserializator
) override

Implements cubpacking::packable_object::unpack



The documentation for this class was generated from the following file cubrid/src/loaddb/load_common.hpp