SqlToDmqlCompiler Class Reference

#include <librets/SqlToDmqlCompiler.h>

Inheritance diagram for SqlToDmqlCompiler:

RetsObject

List of all members.

Public Types

enum  QueryType { DMQL_QUERY, GET_OBJECT_QUERY, LOOKUP_QUERY, LOOKUP_COLUMNS_QUERY }

Public Member Functions

 SqlToDmqlCompiler (SqlMetadataPtr metadata)
QueryType sqlToDmql (std::string sql)
QueryType sqlToDmql (std::istream &inputStream)
DmqlQueryPtr GetDmqlQuery () const
GetObjectQueryPtr GetGetObjectQuery () const
LookupQueryPtr GetLookupQuery () const
LookupColumnsQueryPtr GetLookupColumnsQuery () const
virtual std::ostream & Print (std::ostream &outputStream) const
std::string ToString () const
virtual bool Equals (const RetsObject *object) const


Member Enumeration Documentation

enum QueryType

Enumerator:
DMQL_QUERY 
GET_OBJECT_QUERY 
LOOKUP_QUERY 
LOOKUP_COLUMNS_QUERY 


Constructor & Destructor Documentation

SqlToDmqlCompiler ( SqlMetadataPtr  metadata  ) 


Member Function Documentation

virtual bool Equals ( const RetsObject object  )  const [virtual, inherited]

DmqlQueryPtr GetDmqlQuery (  )  const

GetObjectQueryPtr GetGetObjectQuery (  )  const

LookupColumnsQueryPtr GetLookupColumnsQuery (  )  const

LookupQueryPtr GetLookupQuery (  )  const

virtual std::ostream& Print ( std::ostream &  outputStream  )  const [virtual, inherited]

QueryType sqlToDmql ( std::istream &  inputStream  ) 

QueryType sqlToDmql ( std::string  sql  ) 

std::string ToString (  )  const [inherited]


Generated by  doxygen