This class provides efficient access to data in the table.
|
Column Management |
Bind to columns, retrieve column information.
|
size_t | ColumnIDLocked (size_t column) const |
const column_info & | ColumnInfoLocked (size_t column) const |
size_t | CountColumnsLocked () const |
status_t | SetColumnsLocked (const SValue &columns, SValue *outSelectedColumns=NULL) |
Data setting/retrieval |
Get/set data from table from a particular row.
|
size_t | ColumnSizeLocked (uint32_t rowID, size_t column) const |
SValue | ColumnValueLocked (uint32_t rowID, size_t column, uint32_t flags, size_t maxDataSize=2048) const |
status_t | LoadDataLocked (uint32_t rowID, uint32_t flags, SValue *outData, size_t maxDataSize=256) |
status_t | SetColumnValueLocked (uint32_t rowID, size_t column, const SValue &value) |
Bookkeeping |
Creation, destruction.
|
| DataAccessor (const sptr< BSchemaTableNode > &table) |
| Instantiate object and create connection to table.
|
const sptr< BSchemaTableNode > & | Table () const |
| Instantiate object and create connection to table.
|
virtual void | InitAtom () |
| Attach to the owning BSchemaTableNode.
|
virtual | ~DataAccessor () |
| Instantiate object and create connection to table.
|