Go to the documentation of this file.
28 #ifndef TABLES_TILEDCOLUMNSTMAN_H
29 #define TABLES_TILEDCOLUMNSTMAN_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/DataMan/TiledStMan.h>
34 #include <casacore/casa/Arrays/IPosition.h>
35 #include <casacore/casa/BasicSL/String.h>
Define the structure of a Casacore table.
virtual Bool flush(AipsIO &, Bool fsync)
Flush and optionally fsync the data.
A Vector of integers, for indexing into Array<T> objects.
virtual DataManager * clone() const
Clone this object.
AipsIO is the object persistency mechanism of Casacore
Abstract base class for a data manager.
Tiled Column Storage Manager.
TiledColumnStMan & operator=(const TiledColumnStMan &)
Forbid assignment.
TiledColumnStMan(const String &hypercolumnName, const Record &spec)
virtual Bool canAccessColumn(Bool &reask) const
TiledColumnStMan can always access a column.
TiledColumnStMan(const String &hypercolumnName, const IPosition &tileShape, uInt maximumCacheSize=0)
Create a TiledDataStMan storage manager for the hypercolumn with the given name.
Tiled hypercube in a table.
uInt maximumCacheSize() const
Get the current maximum cache size (in MiB (MibiByte)).
virtual String dataManagerType() const
Get the type name of the data manager (i.e.
virtual TSMCube * getHypercube(uInt rownr, IPosition &position)
Get the hypercube in which the given row is stored.
TiledColumnStMan(const TiledColumnStMan &)
Forbid copy constructor.
virtual void create(uInt nrrow)
Let the storage manager create files as needed for a new table.
virtual void setupCheck(const TableDesc &tableDesc, const Vector< String > &dataNames) const
Check if the hypercolumn definition fits this storage manager.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
Make the object from the type name string.
Base class for Tiled Storage Manager classes.
this file contains all the compiler specific defines
virtual void readHeader(uInt nrrow, Bool firstTime)
Read the header info.
TiledColumnStMan()
Create a TiledColumnStMan.
virtual TSMCube * getHypercube(uInt rownr)
Get the hypercube in which the given row is stored.
const IPosition & tileShape(uInt rownr) const
Get the tile shape of the data in the given row.
String: the storage and methods of handling collections of characters.
virtual IPosition defaultTileShape() const
Get the (default) tile shape.
bool Bool
Define the standard types used by Casacore.
A hierarchical collection of named fields of various types.
A 1-D Specialization of the Array class.
void addRow(uInt nrrow)
Add rows to the storage manager.