![]() |
ATLAS Offline Software
|
#include <StorageSvc/IDbContainer.h>
Public Member Functions | |
| virtual void | release ()=0 |
| Release the technology specific implementation. More... | |
| virtual uint64_t | size ()=0 |
| Access to container size. More... | |
| virtual std::string | name () const =0 |
| Get container name. More... | |
| virtual DbStatus | setOption (const DbOption &refOpt)=0 |
| Set options. More... | |
| virtual DbStatus | getOption (DbOption &refOpt)=0 |
| Access options. More... | |
| virtual void * | allocate (unsigned long siz, DbContainer &cntH, ShapeH shape)=0 |
| In place allocation of raw memory. More... | |
| virtual DbStatus | allocate (DbContainer &cntH, const void *object, ShapeH shape, Token::OID_t &oid)=0 |
| In place allocation of object location. More... | |
| virtual DbStatus | free (void *ptr, DbContainer &cntH)=0 |
| In place deletion of raw memory. More... | |
| virtual uint64_t | nextRecordId ()=0 |
| Number of next record in the container (=size if no delete is allowed) More... | |
| virtual void | useNextRecordId (uint64_t)=0 |
| Suggest next Record ID for tbe next object written - used only with synced indexes. More... | |
| virtual DbStatus | close ()=0 |
| Close the container. More... | |
| virtual DbStatus | open (DbDatabase &dbH, const std::string &nam, const DbTypeInfo *info, DbAccessMode mode)=0 |
| Open the container. More... | |
| virtual DbStatus | checkAccess (DbDatabase &dbH, const std::string &nam) const =0 |
| Check if we can access the container for reading with the given type. More... | |
| virtual DbStatus | select (DbSelect &sel)=0 |
| Define selection. More... | |
| virtual DbStatus | fetch (DbSelect &sel)=0 |
| Fetch next object address of the selection to set token. More... | |
| virtual DbStatus | load (void **ptr, ShapeH shape, const Token::OID_t &lnkH, Token::OID_t &oid, bool any_next=false)=0 |
| Find object within the container and load it into memory. More... | |
| virtual DbStatus | save (DbContainer &cntH, const void *object, ShapeH shape, Token::OID_t &linkH)=0 |
| Save new object in the container and return its handle. More... | |
| virtual DbStatus | save (DbObjectHandle< DbObject > &objH)=0 |
| Add object to the container. More... | |
| virtual DbStatus | transAct (Transaction::Action)=0 |
| Execute Transaction Action. More... | |
Protected Member Functions | |
| virtual | ~IDbContainer () |
| Destructor (called only by sub-classes) More... | |
Description:
Interface to the implementation specific part of a container object objects.
Definition at line 46 of file IDbContainer.h.
|
inlineprotectedvirtual |
|
pure virtual |
In place allocation of object location.
Implemented in pool::DbContainerImp.
|
pure virtual |
In place allocation of raw memory.
Implemented in pool::DbContainerImp.
|
pure virtual |
Check if we can access the container for reading with the given type.
Implemented in RNTupleContainer, pool::RootTreeContainer, and pool::RootKeyContainer.
|
pure virtual |
Close the container.
Implemented in RNTupleContainer, pool::RootTreeContainer, pool::DbContainerImp, and pool::RootKeyContainer.
Fetch next object address of the selection to set token.
Implemented in RNTupleContainer, pool::RootTreeContainer, pool::DbContainerImp, and pool::RootKeyContainer.
|
pure virtual |
In place deletion of raw memory.
Implemented in pool::DbContainerImp.
Access options.
Implemented in RNTupleContainer, pool::RootTreeContainer, pool::DbContainerImp, and pool::RootKeyContainer.
|
pure virtual |
Find object within the container and load it into memory.
| ptr | [IN/OUT] ROOT-style address of the pointer to object |
| shape | [IN] Object type |
| linkH | [IN] Preferred object OID |
| oid | [OUT] Actual object OID |
| any_next | [IN] On selection, objects may be skipped. If objects are skipped, the actual oid will differ from the preferred oid. |
Implemented in pool::DbContainerImp, and pool::RootKeyContainer.
|
pure virtual |
Get container name.
Implemented in pool::DbContainerImp.
|
pure virtual |
Number of next record in the container (=size if no delete is allowed)
Implemented in RNTupleContainer, pool::RootTreeIndexContainer, pool::DbContainerImp, and pool::RootKeyContainer.
|
pure virtual |
Open the container.
Implemented in RNTupleContainer, pool::RootTreeContainer, pool::RootKeyContainer, and pool::RootTreeIndexContainer.
|
pure virtual |
Release the technology specific implementation.
Implemented in pool::DbContainerImp.
|
pure virtual |
Save new object in the container and return its handle.
| cntH | [IN] Handle to container object. |
| object | [IN] Pointer to feed data. |
| linkH | [OUT] Internal OID to identify object. |
Implemented in pool::DbContainerImp.
|
pure virtual |
Add object to the container.
Implemented in RNTupleContainer, and pool::DbContainerImp.
Define selection.
Implemented in RNTupleContainer, pool::RootTreeContainer, and pool::RootKeyContainer.
Set options.
Implemented in RNTupleContainer, pool::RootTreeContainer, pool::DbContainerImp, and pool::RootKeyContainer.
|
pure virtual |
Access to container size.
Implemented in RNTupleContainer, pool::RootTreeContainer, pool::DbContainerImp, and pool::RootKeyContainer.
|
pure virtual |
Execute Transaction Action.
Implemented in pool::DbContainerImp, pool::RootTreeContainer, pool::RootKeyContainer, and RNTupleContainer.
|
pure virtual |
Suggest next Record ID for tbe next object written - used only with synced indexes.
Implemented in pool::RootTreeIndexContainer, pool::DbContainerImp, and RNTupleContainer.
1.8.18