38 #include <casacore/casa/IO/AipsIO.h>
39 #include <casacore/tables/DataMan/DataManager.h>
40 #include <casacore/tables/Tables/Table.h>
52 std::string engineType = std::string(),
53 std::map<std::string, std::string> engineParams
54 = std::map<std::string, std::string>(),
55 std::vector<std::map<std::string, std::string>> transportParams
56 = std::vector<std::map<std::string, std::string>>(),
57 std::vector<std::map<std::string, std::string>> operatorParams
58 = std::vector<std::map<std::string, std::string>>());
60 Adios2StMan(std::string xmlFile, MPI_Comm mpiComm = MPI_COMM_WORLD);
73 const String &aDataTypeID);
76 const String &aDataTypeID);
79 const String &aDataTypeID);
virtual Bool flush(AipsIO &, Bool doFsync)
Flush and optionally fsync the data.
virtual DataManagerColumn * makeDirArrColumn(const String &aName, int aDataType, const String &aDataTypeID)
Create a direct array column.
std::unique_ptr< impl > pimpl
Adios2StMan(std::string xmlFile, MPI_Comm mpiComm=MPI_COMM_WORLD)
virtual void create64(rownr_t aNrRows)
Let the data manager initialize itself for a new table.
static DataManager * makeObject(const String &aDataManType, const Record &spec)
virtual void addRow64(rownr_t aNrRows)
Add rows to all columns.
virtual String dataManagerName() const
Return the name of the data manager.
virtual DataManager * clone() const
Make a clone of the derived object.
virtual String dataManagerType() const
Return the type name of the data manager (in fact its class name).
virtual rownr_t open64(rownr_t aRowNr, AipsIO &ios)
Let the data manager initialize itself for an existing table.
virtual DataManagerColumn * makeScalarColumn(const String &aName, int aDataType, const String &aDataTypeID)
Create a column in the data manager on behalf of a table column.
Record dataManagerSpec() const
Return a record containing data manager specifications.
Adios2StMan(MPI_Comm mpiComm=MPI_COMM_WORLD, std::string engineType=std::string(), std::map< std::string, std::string > engineParams=std::map< std::string, std::string >(), std::vector< std::map< std::string, std::string >> transportParams=std::vector< std::map< std::string, std::string >>(), std::vector< std::map< std::string, std::string >> operatorParams=std::vector< std::map< std::string, std::string >>())
virtual void deleteManager()
The data manager will be deleted (because all its columns are requested to be deleted).
virtual rownr_t resync64(rownr_t aRowNr)
Resync the data by rereading cached data from the file.
virtual DataManagerColumn * makeIndArrColumn(const String &aName, int aDataType, const String &aDataTypeID)
Create an indirect array column.
Abstract base class for a data manager.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
void register_adios2stman()
uInt64 rownr_t
Define the type of a row number in a table.