SQLsmith  v1.2.1-5-gfacd7a8
A random SQL query generator
Public Member Functions | Public Attributes | List of all members
select_for_update Struct Reference
Inheritance diagram for select_for_update:
Inheritance graph
Collaboration diagram for select_for_update:
Collaboration graph

Public Member Functions

virtual void out (std::ostream &out)
 Emit SQL for this production.
 
 select_for_update (prod *p, struct scope *s, bool lateral=0)
 
- Public Member Functions inherited from query_spec
 query_spec (prod *p, struct scope *s, bool lateral=0)
 
virtual void accept (prod_visitor *v)
 Visitor pattern for walking the AST. More...
 
- Public Member Functions inherited from prod
 prod (prod *parent)
 
virtual void indent (std::ostream &out)
 Newline and indent according to tree level.
 
virtual void match ()
 Check with the impedance matching code whether this production has been blacklisted and throw an exception.
 
virtual void fail (const char *reason)
 Report a "failed to generate" error.
 
void retry ()
 Increase the retry count and throw an exception when retry_limit is exceeded.
 

Public Attributes

const char * lockmode
 
- Public Attributes inherited from query_spec
std::string set_quantifier
 
shared_ptr< struct from_clausefrom_clause
 
shared_ptr< struct select_listselect_list
 
shared_ptr< bool_exprsearch
 
std::string limit_clause
 
struct scope myscope
 
- Public Attributes inherited from prod
struct prodpprod
 Parent production that instanciated this one. More...
 
struct scopescope
 Scope object to model column/table reference visibility.
 
int level
 Level of this production in the AST. 0 for root node.
 
long retries = 0
 Number of retries in this production. More...
 
long retry_limit = 100
 Maximum number of retries allowed before reporting a failure to the Parent prod.
 

Detailed Description

Definition at line 147 of file grammar.hh.


The documentation for this struct was generated from the following files: