HyriseSQLParser/src/SQLParser.h

24 lines
399 B
C
Raw Normal View History

2014-10-09 01:30:22 +02:00
#ifndef __SQLPARSER_H_
#define __SQLPARSER_H_
#include "SQLParserResult.h"
#include "sql/statements.h"
2014-10-09 01:30:22 +02:00
namespace hsql {
/**
* Main class for parsing SQL strings
*/
class SQLParser {
public:
static SQLParserResult* parseSQLString(const char* sql);
static SQLParserResult* parseSQLString(const std::string& sql);
2016-02-27 15:01:06 +01:00
private:
SQLParser();
};
2014-10-09 01:30:22 +02:00
} // namespace hsql
2014-10-09 01:30:22 +02:00
#endif