29 #ifndef ADIOS2STMANIMPL_H
30 #define ADIOS2STMANIMPL_H
39 class Adios2StManColumn;
47 std::string engineType,
48 std::map<std::string, std::string> engineParams,
49 std::vector<std::map<std::string, std::string>> transportParams,
50 std::vector<std::map<std::string, std::string>> operatorParams);
66 const String &aDataTypeID);
69 const String &aDataTypeID);
72 const String &aDataTypeID);
75 const String &aDataTypeID);
static MPI_Comm itsMpiComm
MPI communicator to be used by all instances of this storage manager.
std::shared_ptr< adios2::IO > itsAdiosIO
DataManagerColumn * makeScalarColumn(const String &aName, int aDataType, const String &aDataTypeID)
DataManagerColumn * makeDirArrColumn(const String &aName, int aDataType, const String &aDataTypeID)
impl(Adios2StMan &parent, std::string xmlFile, MPI_Comm mpiComm)
DataManager * clone() const
std::string itsAdiosXmlFile
The ADIOS2 XML configuration file.
static constexpr const char * DATA_MANAGER_TYPE
The type of this storage manager.
String dataManagerType() const
String dataManagerName() const
PtrBlock< Adios2StManColumn * > itsColumnPtrBlk
static constexpr const char * SPEC_FIELD_ENGINE_PARAMS
The name of the specification field for the ADIOS2 engine parameters.
static constexpr const char * SPEC_FIELD_XML_FILE
The name of the specification field for the ADIOS2 XML configuration file.
static constexpr const char * SPEC_FIELD_TRANSPORT_PARAMS
The name of the specification field for the ADIOS2 transport parameters.
std::vector< adios2::Params > itsAdiosOperatorParamsVec
Parameters for the ADIOS2 operators (compressors)
Bool flush(AipsIO &ios, Bool doFsync)
DataManagerColumn * makeIndArrColumn(const String &aName, int aDataType, const String &aDataTypeID)
void addRow64(rownr_t aNrRows)
std::shared_ptr< adios2::Engine > itsAdiosEngine
rownr_t open64(rownr_t aRowNr, AipsIO &ios)
static DataManager * makeObject(const String &aDataManType, const Record &spec)
static constexpr const char * SPEC_FIELD_OPERATOR_PARAMS
The name of the specification field for the ADIOS2 operator parameters.
static constexpr const char * SPEC_FIELD_ENGINE_TYPE
The name of the specification field for the ADIOS2 engine type.
impl(Adios2StMan &parent, MPI_Comm mpiComm, std::string engineType, std::map< std::string, std::string > engineParams, std::vector< std::map< std::string, std::string >> transportParams, std::vector< std::map< std::string, std::string >> operatorParams)
Record dataManagerSpec() const
adios2::Params itsAdiosEngineParams
Parameters for the ADIOS2 engine.
std::string itsAdiosEngineType
The ADIOS2 Engine type.
rownr_t resync64(rownr_t aRowNr)
DataManagerColumn * makeColumnCommon(const String &aName, int aDataType, const String &aDataTypeID)
void create64(rownr_t aNrRows)
std::shared_ptr< adios2::ADIOS > itsAdios
std::vector< adios2::Params > itsAdiosTransportParamsVec
Parameters for the ADIOS2 transports.
Abstract base class for a data manager.
uInt ncolumn() const
Get the nr of columns in this data manager (can be zero).
String fileName() const
Compose a unique filename from the table name and sequence number.
A drop-in replacement for Block<T*>.
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.
uInt64 rownr_t
Define the type of a row number in a table.