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 a query against a table. More...
Public Member Functions | |
table_query () | |
Initializes a new instance of the azure::storage::table_query class. More... | |
int | take_count () const |
Gets the maximum number of entities the query will return. More... | |
void | set_take_count (int value) |
Sets the maximum number of entities the query may return. More... | |
const utility::string_t & | filter_string () const |
Gets the filter expression to use for the query. More... | |
void | set_filter_string (utility::string_t value) |
Sets the filter expression to use for the query. More... | |
const std::vector< utility::string_t > & | select_columns () const |
Gets the names of the entity properties to return when the query is executed. More... | |
void | set_select_columns (std::vector< utility::string_t > value) |
Sets the names of the entity properties to return when the table query is executed. More... | |
Static Public Member Functions | |
static WASTORAGE_API const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, const utility::string_t &value) |
Generates a filter condition string for the specified string value. More... | |
static const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, const utility::char_t *value) |
Generates a filter condition string for the specified character value. More... | |
static WASTORAGE_API const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, const std::vector< uint8_t > &value) |
Generates a filter condition string for the specified binary value. More... | |
static const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, bool value) |
Generates a filter condition string for the specified boolean value. More... | |
static const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, utility::datetime value) |
Generates a filter condition string for the specified date/time value. More... | |
static WASTORAGE_API const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, double value) |
Generates a filter condition string for the specified double-precision floating point number value. More... | |
static const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, const utility::uuid &value) |
Generates a filter condition string for the specified GUID value. More... | |
static WASTORAGE_API const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, int32_t value) |
Generates a filter condition string for the specified 32-bit integer value. More... | |
static const utility::string_t | generate_filter_condition (const utility::string_t &property_name, const utility::string_t &comparison_operator, int64_t value) |
Generates a filter condition string for the specified 64-bit integer value. More... | |
static const utility::string_t | combine_filter_conditions (const utility::string_t &left_filter, const utility::string_t &logical_operator, const utility::string_t &right_filter) |
Creates a filter condition using the specified logical operator on two filter conditions. More... | |
Represents a query against a table.
|
inline |
Initializes a new instance of the azure::storage::table_query class.
|
inlinestatic |
Creates a filter condition using the specified logical operator on two filter conditions.
left_filter | A string containing the first formatted filter condition. |
logical_operator | A string containing the AND operator or the OR operator. |
right_filter | A string containing the second formatted filter condition. |
|
inline |
Gets the filter expression to use for the query.
|
static |
Generates a filter condition string for the specified string value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A string containing the value to compare with the property value. |
|
inlinestatic |
Generates a filter condition string for the specified character value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A character containing the value to compare with the property value. |
|
static |
Generates a filter condition string for the specified binary value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A byte array containing the value to compare with the property value. |
|
inlinestatic |
Generates a filter condition string for the specified boolean value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A boolean containing the value to compare with the property value. |
|
inlinestatic |
Generates a filter condition string for the specified date/time value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A date/time containing the value to compare with the property value. |
|
static |
Generates a filter condition string for the specified double-precision floating point number value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A double-precision floating number point containing the value to compare with the property value. |
|
inlinestatic |
Generates a filter condition string for the specified GUID value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A GUID containing the value to compare with the property value. |
|
static |
Generates a filter condition string for the specified 32-bit integer value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A 32-bit integer containing the value to compare with the property value. |
|
inlinestatic |
Generates a filter condition string for the specified 64-bit integer value.
property_name | A string containing the name of the property to compare. |
comparison_operator | A string containing the comparison operator to use. |
value | A 64-bit integer containing the value to compare with the property value. |
|
inline |
Gets the names of the entity properties to return when the query is executed.
|
inline |
Sets the filter expression to use for the query.
value | A string containing the filter expression. |
|
inline |
Sets the names of the entity properties to return when the table query is executed.
value | An enumerable collection of strings containing the names of the properties to return when the query is executed. |
|
inline |
Sets the maximum number of entities the query may return.
value | The maximum number of entities the query may return. |
|
inline |
Gets the maximum number of entities the query will return.