|
void | add_tracking_query_param () |
| Modify this chunk's data URL so that it includes tracking info.
|
|
| Chunk ()=default |
| Get an empty chunk.
|
|
| Chunk (const Chunk &h4bs) |
|
| Chunk (std::shared_ptr< http::url > data_url, std::string order, const std::string &pia_vec, const std::vector< std::pair< unsigned long long, unsigned long long > > &lb_ol) |
|
| Chunk (std::shared_ptr< http::url > data_url, std::string order, unsigned long long size, unsigned long long offset, bool lb, unsigned int lblock_index, const std::string &pia_str="") |
|
| Chunk (std::shared_ptr< http::url > data_url, std::string order, unsigned long long size, unsigned long long offset, const std::string &pia_str="") |
| Get a chunk initialized with values.
|
|
| Chunk (std::shared_ptr< http::url > data_url, std::string order, unsigned long long size, unsigned long long offset, const std::vector< unsigned long long > &pia_vec) |
| Get a chunk initialized with values.
|
|
| Chunk (std::shared_ptr< http::url > data_url, std::string order, unsigned long long size, unsigned long long offset, const std::vector< unsigned long long > &pia_vec, bool is_multi_lb, unsigned int lb_index) |
|
| Chunk (std::shared_ptr< http::url > data_url, std::string order, unsigned long long size, unsigned long long offset, unsigned int filter_mask, const std::vector< unsigned long long > &pia_vec) |
|
| Chunk (std::string order, const std::string &pia_vec, const std::vector< std::pair< unsigned long long, unsigned long long > > &lb_ol) |
|
| Chunk (std::string order, std::string fill_value, libdap::Type fv_type, unsigned long long chunk_size, std::vector< unsigned long long > pia) |
|
| Chunk (std::string order, std::string fill_value, libdap::Type fv_type, unsigned long long chunk_size, std::vector< unsigned long long > pia, const std::vector< std::pair< libdap::Type, int > > &compound_udf_type_elms) |
|
| Chunk (std::string order, std::string fill_value, libdap::Type fv_type, unsigned long long chunk_size, std::vector< unsigned long long > pia, unsigned int s_size) |
|
| Chunk (std::string order, std::string fill_value, libdap::Type fv_type, unsigned long long size, unsigned long long offset, const std::string &pia_str="") |
|
| Chunk (std::string order, unsigned long long size, unsigned long long offset, bool lb, unsigned int lblock_index, const std::string &pia_str="") |
|
| Chunk (std::string order, unsigned long long size, unsigned long long offset, const std::string &pia_str="") |
| Get a chunk initialized with values, the data URL will not be set.
|
|
| Chunk (std::string order, unsigned long long size, unsigned long long offset, const std::vector< unsigned long long > &pia_vec) |
|
| Chunk (std::string order, unsigned long long size, unsigned long long offset, const std::vector< unsigned long long > &pia_vec, bool is_multi_lb, unsigned int lb_index) |
|
| Chunk (std::string order, unsigned long long size, unsigned long long offset, unsigned int filter_mask, const std::vector< unsigned long long > &pia_vec) |
| Get a chunk initialized with values, the data URl will not be set.
|
|
virtual void | dump (std::ostream &strm) const |
|
virtual void | filter_chunk (const std::string &filters, unsigned long long chunk_size, unsigned long long elem_width) |
| filter data in the chunk
|
|
virtual std::string | get_byte_order () |
|
virtual unsigned long long | get_bytes_read () const |
|
virtual std::string | get_curl_range_arg_string () |
| Returns a curl range argument. The libcurl requires a string argument for range-ge activitys, this method constructs one in the required syntax from the offset and size information for this byteStream.
|
|
virtual std::shared_ptr< http::url > | get_data_url () const |
| Get the data URL for this chunk.
|
|
virtual unsigned long long | get_direct_io_offset () const |
|
virtual std::string | get_fill_value () const |
|
virtual libdap::Type | get_fill_value_type () const |
|
virtual unsigned int | get_filter_mask () const |
|
virtual bool | get_is_read () |
|
virtual bool | get_linked_block () const |
|
virtual unsigned int | get_linked_block_index () const |
|
virtual unsigned int | get_multi_linked_block_index_in_dmrpp_file () const |
|
virtual bool | get_multi_linked_blocks () const |
|
virtual unsigned long long | get_offset () const |
|
virtual const std::vector< unsigned long long > & | get_position_in_array () const |
|
virtual char * | get_rbuf () |
|
virtual unsigned long long | get_rbuf_size () const |
|
virtual bool | get_read_buffer_is_mine () |
|
virtual std::string | get_response_content_type () |
| Get the response type of the last response.
|
|
virtual unsigned long long | get_size () const |
|
virtual bool | get_uses_fill_value () const |
|
virtual void | load_fill_values () |
| Load the chunk with fill values - temporary implementation.
|
|
void | obtain_multi_linked_offset_length (vector< std::pair< unsigned long long, unsigned long long > > &cur_chunk_lb_offset_length) const |
|
Chunk & | operator= (const Chunk &rhs) |
|
virtual void | read_chunk () |
|
virtual void | read_chunk_dio () |
|
virtual void | set_bytes_read (unsigned long long bytes_read) |
| Set the size of this Chunk's data block.
|
|
void | set_compound_udf_info (const std::vector< std::pair< libdap::Type, int > > &structure_type_element) |
|
virtual void | set_data_url (std::shared_ptr< http::url > data_url) |
| Set the data url for this Chunk's data block.
|
|
virtual void | set_direct_io_offset (unsigned long long dio_offset) |
|
virtual void | set_is_read (bool state) |
|
void | set_multi_linked_offset_length (const std::vector< std::pair< unsigned long long, unsigned long long > > &lb_offset_lengths) |
|
void | set_position_in_array (const std::string &pia) |
| parse the chunk position string
|
|
void | set_position_in_array (const std::vector< unsigned long long > &pia) |
| Set the chunk's position in the Array.
|
|
virtual void | set_rbuf_to_size () |
| Allocates the internal read buffer to be d_size bytes.
|
|
void | set_read_buffer (char *buf, unsigned long long buf_size, unsigned long long bytes_read=0, bool assume_ownership=true) |
| Set the target read buffer for this chunk.
|
|
void | set_response_content_type (const std::string &ct) |
| Set the response type of the last response.
|
|
virtual void | set_size (unsigned long long storage_size) |
|
virtual std::string | to_string () const |
|
This class is used to encapsulate the state and behavior needed for reading chunked data associated with a DAP variable. In particular it is based on the semantics of an hdf4:Chunk object, which is used to represent a chunk of data in a (potentially complex) HDF4/HDF5 file.
Definition at line 77 of file Chunk.h.