#include <filter_object_generator.h>
|
| void | parse (const Document &doc) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_simple_operator_object (const std::string_view &column_name, Value *value) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_complex_operator_object (const std::string_view &column_name, Value *value, const std::string_view &complex_key) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_complex_value (const std::string_view &column_name, Value *value) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_complex_values (const std::string_view &column_name, Value *value, const std::string_view &complex_key) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_column_object (const std::string_view &column_name, Value *value) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_direct_value (const std::string_view &column_name, Value *value) |
| |
| std::optional< mysqlrouter::sqlstring > | parse_match (Value *value) |
| |
| void | parse_orderby_asof_wmember (Object object) |
| |
| void | parse_order (Object object) |
| |
| void | parse_asof (Value *value) |
| |
| bool | parse_wmember (const std::string_view &name, Value *value) |
| |
| std::pair< std::shared_ptr< entry::Table >, std::shared_ptr< entry::Column > > | resolve_field (const std::string_view &name) |
| |
| mysqlrouter::sqlstring | resolve_field_name (const std::shared_ptr< entry::Table > &table, const std::shared_ptr< entry::Column > &dfield, const std::string_view &name, bool for_sorting) const |
| |
◆ Document
◆ Object
◆ Value
◆ Clear
| Enumerator |
|---|
| kWhere | |
| kOrder | |
| kAsof | |
| kAll | |
◆ FilterObjectGenerator()
| mrs::database::FilterObjectGenerator::FilterObjectGenerator |
( |
std::shared_ptr< database::entry::Object > |
object = {}, |
|
|
bool |
joins_allowed = false, |
|
|
uint64_t |
wait_timeout = 0, |
|
|
bool |
use_wait_in_where = true |
|
) |
| |
◆ get_asof()
◆ get_result()
◆ has_asof()
| bool mrs::database::FilterObjectGenerator::has_asof |
( |
| ) |
const |
◆ has_order()
| bool mrs::database::FilterObjectGenerator::has_order |
( |
| ) |
const |
◆ has_where()
| bool mrs::database::FilterObjectGenerator::has_where |
( |
bool |
filter_only = true | ) |
const |
◆ parse() [1/2]
| void mrs::database::FilterObjectGenerator::parse |
( |
const Document & |
doc | ) |
|
|
private |
◆ parse() [2/2]
| void mrs::database::FilterObjectGenerator::parse |
( |
const std::string & |
filter_query | ) |
|
◆ parse_asof()
| void mrs::database::FilterObjectGenerator::parse_asof |
( |
Value * |
value | ) |
|
|
private |
◆ parse_column_object()
| std::optional< mysqlrouter::sqlstring > mrs::database::FilterObjectGenerator::parse_column_object |
( |
const std::string_view & |
column_name, |
|
|
Value * |
value |
|
) |
| |
|
private |
◆ parse_complex_operator_object()
| std::optional< mysqlrouter::sqlstring > mrs::database::FilterObjectGenerator::parse_complex_operator_object |
( |
const std::string_view & |
column_name, |
|
|
Value * |
value, |
|
|
const std::string_view & |
complex_key |
|
) |
| |
|
private |
◆ parse_complex_value()
| std::optional< mysqlrouter::sqlstring > mrs::database::FilterObjectGenerator::parse_complex_value |
( |
const std::string_view & |
column_name, |
|
|
Value * |
value |
|
) |
| |
|
private |
◆ parse_complex_values()
| std::optional< mysqlrouter::sqlstring > mrs::database::FilterObjectGenerator::parse_complex_values |
( |
const std::string_view & |
column_name, |
|
|
Value * |
value, |
|
|
const std::string_view & |
complex_key |
|
) |
| |
|
private |
◆ parse_direct_value()
| std::optional< mysqlrouter::sqlstring > mrs::database::FilterObjectGenerator::parse_direct_value |
( |
const std::string_view & |
column_name, |
|
|
Value * |
value |
|
) |
| |
|
private |
◆ parse_match()
◆ parse_order()
| void mrs::database::FilterObjectGenerator::parse_order |
( |
Object |
object | ) |
|
|
private |
◆ parse_orderby_asof_wmember()
| void mrs::database::FilterObjectGenerator::parse_orderby_asof_wmember |
( |
Object |
object | ) |
|
|
private |
◆ parse_simple_operator_object()
| std::optional< mysqlrouter::sqlstring > mrs::database::FilterObjectGenerator::parse_simple_operator_object |
( |
const std::string_view & |
column_name, |
|
|
Value * |
value |
|
) |
| |
|
private |
◆ parse_wmember()
| bool mrs::database::FilterObjectGenerator::parse_wmember |
( |
const std::string_view & |
name, |
|
|
Value * |
value |
|
) |
| |
|
private |
◆ reconfigure()
| void mrs::database::FilterObjectGenerator::reconfigure |
( |
uint64_t |
wait_timeout = 0, |
|
|
bool |
use_wait_in_where = true |
|
) |
| |
◆ reset()
| void mrs::database::FilterObjectGenerator::reset |
( |
const Clear |
clear = Clear::kAll | ) |
|
◆ resolve_field()
| std::pair< std::shared_ptr< entry::Table >, std::shared_ptr< entry::Column > > mrs::database::FilterObjectGenerator::resolve_field |
( |
const std::string_view & |
name | ) |
|
|
private |
◆ resolve_field_name()
| mysqlrouter::sqlstring mrs::database::FilterObjectGenerator::resolve_field_name |
( |
const std::shared_ptr< entry::Table > & |
table, |
|
|
const std::shared_ptr< entry::Column > & |
dfield, |
|
|
const std::string_view & |
name, |
|
|
bool |
for_sorting |
|
) |
| const |
|
private |
◆ argument_
| std::list<std::string> mrs::database::FilterObjectGenerator::argument_ |
|
private |
◆ asof_gtid_
◆ empty_
| bool mrs::database::FilterObjectGenerator::empty_ {true} |
|
private |
◆ joins_allowed_
| bool mrs::database::FilterObjectGenerator::joins_allowed_ {false} |
|
private |
◆ object_metadata_
| std::shared_ptr<database::entry::Object> mrs::database::FilterObjectGenerator::object_metadata_ |
|
private |
◆ order_
◆ use_wait_in_where_
| bool mrs::database::FilterObjectGenerator::use_wait_in_where_ {true} |
|
private |
◆ wait_timeout_
| uint64_t mrs::database::FilterObjectGenerator::wait_timeout_ {0} |
|
private |
◆ where_
The documentation for this class was generated from the following files: