![]() |
rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
The r_Tiling class is used to specify in which way the tiling is done by the system. More...
#include <tiling.hh>
Public Member Functions | |
| virtual | ~r_Tiling ()=default |
| virtual void | print_status (std::ostream &os) const =0 |
| Prints the current status of the object. | |
| virtual bool | is_compatible (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const =0 |
| Check compatibility of object domain with this tiling. | |
| virtual std::vector< r_Minterval > | compute_tiles (const r_Minterval &obj_domain, r_Bytes cell_size) const =0 |
| Decompose an object in tiles. | |
| virtual r_Tiling * | clone () const =0 |
| This method provides the core funcionality of this class. | |
| virtual r_Tiling_Scheme | get_tiling_scheme () const =0 |
| This method is similar to a copy constructor, this is, is returns a copy of the current object. | |
Static Public Attributes | |
| static const char * | ASTERIX |
| return the type of tiling scheme | |
| static const char * | TCOLON |
| static const char * | TCOMMA |
| static const char * | LSQRBRA |
| static const char * | RSQRBRA |
| static const int | DefaultBase |
| static const r_Bytes | defaultTileSize |
Protected Member Functions | |
| void | check_nonempty_tiling (const char *encoded) const |
| void | check_premature_stream_end (const char *currPos, const char *endPos) const |
| r_Minterval | parse_minterval (const char *encoded) const |
| unsigned int | parse_unsigned (const char *encoded) const |
| unsigned long | parse_unsigned_long (const char *encoded) const |
| long | parse_long (const char *encoded) const |
| double | parse_double (const char *encoded) const |
| std::unique_ptr< char[]> | copy_buffer (const char *buf, size_t len) const |
| const char * | advance_to_next_char (const char *p, const char *search) const |
The r_Tiling class is used to specify in which way the tiling is done by the system.
The core method that does that is called decomposeMDD() and must be implemented by all derived classes. It takes an object that hasn't yet been split and divides it into tiles. Each derived class implements a diferent decomposition method.
|
virtualdefault |
|
protected |
|
protected |
|
protected |
|
pure virtual |
This method provides the core funcionality of this class.
All derived classes must implement it. As input parameters it takes the big object to be decomposed and returns a set of tiles that compose the big object. This method throws an exeception when the dimension specified, extend or the cell_size are incompatible with the current tiling. You can check compatibility by invoking is_compatible. Clones this object
Implemented in r_Aligned_Tiling, r_Interest_Tiling, r_Dir_Tiling, r_Stat_Tiling, r_No_Tiling, r_Size_Tiling, and r_Dimension_Tiling.
|
pure virtual |
Decompose an object in tiles.
Implemented in r_Aligned_Tiling, r_Interest_Tiling, r_Dir_Tiling, r_Stat_Tiling, r_No_Tiling, r_Size_Tiling, and r_Dimension_Tiling.
|
protected |
|
pure virtual |
This method is similar to a copy constructor, this is, is returns a copy of the current object.
Derived classes must explicitly implement this method.
Implemented in r_Aligned_Tiling, r_Interest_Tiling, r_Dir_Tiling, r_Stat_Tiling, r_No_Tiling, and r_Size_Tiling.
|
pure virtual |
Check compatibility of object domain with this tiling.
Implemented in r_No_Tiling, r_Size_Tiling, r_Dimension_Tiling, and r_Dir_Tiling.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
pure virtual |
Prints the current status of the object.
Implemented in r_Interest_Tiling, r_Dir_Tiling, r_Stat_Tiling, r_No_Tiling, r_Size_Tiling, r_Dimension_Tiling, and r_Aligned_Tiling.
|
static |
return the type of tiling scheme
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |