Microsoft Azure Storage Client Library for C++
7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
|
Represents an entity in a table. More...
Public Types | |
typedef std::unordered_map< utility::string_t, azure::storage::entity_property > | properties_type |
typedef std::unordered_map< utility::string_t, azure::storage::entity_property >::value_type | property_type |
Public Member Functions | |
table_entity () | |
Initializes a new instance of the azure::storage::table_entity class. More... | |
table_entity (utility::string_t partition_key, utility::string_t row_key) | |
Initializes a new instance of the azure::storage::table_entity class with the specified partition key and row key. More... | |
table_entity (utility::string_t partition_key, utility::string_t row_key, utility::string_t etag, properties_type properties) | |
Initializes a new instance of the azure::storage::table_entity class with the entity's partition key, row key, ETag (if available/required), and properties. More... | |
properties_type & | properties () |
Gets the properties in the table entity, indexed by property name. More... | |
const properties_type & | properties () const |
Gets the properties in the table entity, indexed by property name. More... | |
const utility::string_t & | partition_key () const |
Gets the entity's partition key. More... | |
void | set_partition_key (utility::string_t partition_key) |
Sets the entity's partition key. More... | |
const utility::string_t & | row_key () const |
Gets the entity's row key. More... | |
void | set_row_key (utility::string_t row_key) |
Sets the entity's row key. More... | |
utility::datetime | timestamp () const |
Gets the entity's timestamp. More... | |
const utility::string_t & | etag () const |
Gets the entity's current ETag. More... | |
void | set_etag (utility::string_t etag) |
Sets the entity's current ETag. More... | |
Friends | |
table_entity | protocol::parse_table_entity (const web::json::value &document) |
Represents an entity in a table.
|
inline |
Initializes a new instance of the azure::storage::table_entity class.
|
inline |
Initializes a new instance of the azure::storage::table_entity class with the specified partition key and row key.
partition_key | The partition key value for the entity. |
row_key | The row key value for the entity. |
|
inline |
Initializes a new instance of the azure::storage::table_entity class with the entity's partition key, row key, ETag (if available/required), and properties.
partition_key | The entity's partition key. |
row_key | The entity's row key. |
etag | The entity's current ETag. |
properties | The entity's properties, indexed by property name. |
|
inline |
Gets the entity's current ETag.
Set this value to "*" in order to overwrite an entity as part of an update operation.
|
inline |
Gets the entity's partition key.
|
inline |
Gets the properties in the table entity, indexed by property name.
|
inline |
Gets the properties in the table entity, indexed by property name.
|
inline |
Gets the entity's row key.
|
inline |
Sets the entity's current ETag.
etag | The entity's ETag value, as a string. |
Set this value to "*" in order to overwrite an entity as part of an update operation.
|
inline |
Sets the entity's partition key.
partition_key | The entity partition key. |
|
inline |
Sets the entity's row key.
row_key | The entity row key. |
|
inline |
Gets the entity's timestamp.