rasdaman client API  10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
Public Member Functions | Protected Attributes | List of all members
r_Storage_Layout Class Reference

The r_Storage_Layout class is used to express the storage options for r_Marray objects. More...

#include <storagelayout.hh>

Public Member Functions

 r_Storage_Layout (r_Data_Format init_format=r_Array, const char *formatParams=NULL)
 the dataformat is not used. please use the database methods for this purpose. More...
 
 r_Storage_Layout (r_Tiling *ts, r_Data_Format init_format=r_Array, const char *formatParams=NULL)
 the dataformat is not used. please use the database methods for this purpose. More...
 
 r_Storage_Layout (const r_Storage_Layout &sl)
 Copy constructor. More...
 
virtual r_Storage_Layoutclone () const
 
virtual ~r_Storage_Layout ()
 virtual destructor More...
 
const r_Tilingget_tiling () const
 
r_Data_Format get_storage_format () const
 this does not do anything important. please use the database methods for this purpose. More...
 
const char * get_storage_format_params () const
 this does not do anything important. please use the database methods for this purpose. More...
 
virtual r_Set< r_GMarray * > decomposeMDD (const r_GMarray *mar) const
 Function for decomposing large MDDs into a set of smaller tiles. More...
 
virtual std::vector< r_MintervaldecomposeMDD (const r_Minterval &domain, const r_Bytes cell_size) const
 Function for decomposing large MDDs into a set of smaller tiles. More...
 
void print_status (std::ostream &s) const
 writes the state of the object to the specified stream More...
 
virtual bool is_compatible (const r_Minterval &obj_domain, r_Bytes celltypesize) const
 

Protected Attributes

r_Tilingtil {NULL}
 Tiling scheme. More...
 
r_Data_Format storage_format {r_Array}
 the dataformat is not used. please use the database methods for this purpose. More...
 
std::string storage_params
 

Detailed Description

The r_Storage_Layout class is used to express the storage options for r_Marray objects.

This is the superclass of different storage layout classes which may be used for different types of storage layout schemes. It is also used directly by the rasdaman client for default storage layout, i.e., for the storage layout for objects for which absolutely none has been defined.

Notice: the tiling options are invalid if the rasdaman client is running with the option notiling. In that case, no tiling is done, independently of the storage layout chosen. For the time being, compression does not work.

Constructor & Destructor Documentation

◆ r_Storage_Layout() [1/3]

r_Storage_Layout::r_Storage_Layout ( r_Data_Format  init_format = r_Array,
const char *  formatParams = NULL 
)

the dataformat is not used. please use the database methods for this purpose.

◆ r_Storage_Layout() [2/3]

r_Storage_Layout::r_Storage_Layout ( r_Tiling ts,
r_Data_Format  init_format = r_Array,
const char *  formatParams = NULL 
)

the dataformat is not used. please use the database methods for this purpose.

◆ r_Storage_Layout() [3/3]

r_Storage_Layout::r_Storage_Layout ( const r_Storage_Layout sl)

Copy constructor.

◆ ~r_Storage_Layout()

virtual r_Storage_Layout::~r_Storage_Layout ( )
virtual

virtual destructor

Member Function Documentation

◆ clone()

virtual r_Storage_Layout* r_Storage_Layout::clone ( ) const
virtual

◆ decomposeMDD() [1/2]

virtual r_Set<r_GMarray *> r_Storage_Layout::decomposeMDD ( const r_GMarray mar) const
virtual

Function for decomposing large MDDs into a set of smaller tiles.

◆ decomposeMDD() [2/2]

virtual std::vector<r_Minterval> r_Storage_Layout::decomposeMDD ( const r_Minterval domain,
const r_Bytes  cell_size 
) const
virtual

Function for decomposing large MDDs into a set of smaller tiles.

◆ get_storage_format()

r_Data_Format r_Storage_Layout::get_storage_format ( ) const

this does not do anything important. please use the database methods for this purpose.

◆ get_storage_format_params()

const char* r_Storage_Layout::get_storage_format_params ( ) const

this does not do anything important. please use the database methods for this purpose.

◆ get_tiling()

const r_Tiling* r_Storage_Layout::get_tiling ( ) const

◆ is_compatible()

virtual bool r_Storage_Layout::is_compatible ( const r_Minterval obj_domain,
r_Bytes  celltypesize 
) const
virtual

◆ print_status()

void r_Storage_Layout::print_status ( std::ostream &  s) const

writes the state of the object to the specified stream

Member Data Documentation

◆ storage_format

r_Data_Format r_Storage_Layout::storage_format {r_Array}
protected

the dataformat is not used. please use the database methods for this purpose.

◆ storage_params

std::string r_Storage_Layout::storage_params
protected

◆ til

r_Tiling* r_Storage_Layout::til {NULL}
protected

Tiling scheme.


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