DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | List of all members
Deveel.Data.Sql.Parser.ISqlParser Interface Reference

Implementations of this interface will parse input strings into ISqlNode that can be used to construct objects for interacting with the system. More...

Inheritance diagram for Deveel.Data.Sql.Parser.ISqlParser:
Deveel.Data.Sql.Parser.SqlDefaultParser

Public Member Functions

SqlParseResult Parse (string input)
 Analyzes and parses the input and results an object that describes the parsed nodes in a tree that can be used to construct objects for interacting with the system. More...
 

Properties

string Dialect [get]
 Gets the string identifying the SQL dialect used to parse More...
 

Detailed Description

Implementations of this interface will parse input strings into ISqlNode that can be used to construct objects for interacting with the system.

Parsers are specific for given SQL dialects (eg. SQL-92, SQL-99, PL/SQL-1, etc.): the results of the parse operation must be analyzed based on this factor.

See also
ISqlNode, ISqlNodeVisitor, SqlParseResult

Definition at line 38 of file ISqlParser.cs.

Member Function Documentation

SqlParseResult Deveel.Data.Sql.Parser.ISqlParser.Parse ( string  input)

Analyzes and parses the input and results an object that describes the parsed nodes in a tree that can be used to construct objects for interacting with the system.

Parameters
inputThe input string to be parsed.
Returns
Returns an instance of SqlParseResult that includes information about the analyzed input.
Exceptions
ArgumentNullExceptionIf the provided input is null or empty.
See also
SqlParseResult

Implemented in Deveel.Data.Sql.Parser.SqlDefaultParser.

Property Documentation

string Deveel.Data.Sql.Parser.ISqlParser.Dialect
get

Gets the string identifying the SQL dialect used to parse

A dialect name must be unique within a system and it is used to analyze the results of parses.

The results will include this value as constructor parameter.

See also
SqlParseResult.Dialect

Definition at line 53 of file ISqlParser.cs.


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