ISqlGenerator Class Reference

Interface for a SQL generator, which generates a SQL statement from a parse tree. More...

Inherited by PSSql92Generator.

List of all members.

Public Member Functions

virtual simba_wstring GenerateSqlStatement ()=0
 Generates a SQL statement from the given parse tree.
virtual void SetRootNode (PSRootParseNode *in_root)=0
 Sets the root parse node for this SqlGenerator.
virtual ~ISqlGenerator ()
 Destructor.

Protected Member Functions

 ISqlGenerator ()
 Constructor.

Detailed Description

Interface for a SQL generator, which generates a SQL statement from a parse tree.

Implementations of this interface should implement GenerateSqlStatement() in a syntax- specific manner (e.g. SQL Server, SQL-92, Oracle, etc ...)


Constructor & Destructor Documentation

virtual ~ISqlGenerator (  )  [inline, virtual]

Destructor.

ISqlGenerator (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual simba_wstring GenerateSqlStatement (  )  [pure virtual]

Generates a SQL statement from the given parse tree.

Returns:
A semantically-equivalent SQL statement represented by the parse tree.

Implemented in PSSql92Generator.

virtual void SetRootNode ( PSRootParseNode in_root  )  [pure virtual]

Sets the root parse node for this SqlGenerator.

Parameters:
in_root The root node of a parse tree. (NOT OWN)

Implemented in PSSql92Generator.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba