DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
deveeldb.git
src
deveeldb
Deveel.Data.Sql.Parser
CreateSchemaNode.cs
Go to the documentation of this file.
1
using
System
;
2
3
using
Deveel
.
Data
.
Sql
.
Statements
;
4
5
namespace
Deveel
.Data.Sql.Parser {
6
class
CreateSchemaNode
:
SqlStatementNode
{
7
public
string
SchemaName {
get
;
private
set; }
8
9
protected
override
ISqlNode
OnChildNode
(
ISqlNode
node) {
10
if
(node is
IdentifierNode
)
11
SchemaName = ((IdentifierNode) node).Text;
12
13
return
base.OnChildNode(node);
14
}
15
16
protected
override
void
BuildStatement
(
StatementBuilder
builder) {
17
builder.
Statements
.Add(
new
CreateSchemaStatement
(SchemaName));
18
}
19
}
20
}
Deveel
Deveel.Data.Sql.Parser.IdentifierNode
This is a simple identifier within a SQL grammar.
Definition:
IdentifierNode.cs:28
System
Definition:
NonSerializedAttribute.cs:3
Deveel.Data.Sql.Parser.ISqlNode
Defines the contract for nodes in an AST model for a SQL grammar analysis and parsing.
Definition:
ISqlNode.cs:25
Deveel.Data.Sql.Statements
Definition:
AddColumnAction.cs:22
Deveel.Data.Sql.Parser.StatementBuilder
Definition:
StatementBuilder.cs:26
Deveel.Data.Sql.Parser.StatementBuilder.Statements
ICollection< IStatement > Statements
Definition:
StatementBuilder.cs:34
Deveel.Data
Definition:
ActiveSessionList.cs:22
Deveel.Data.Sql
Definition:
CellId.cs:22
Deveel.Data.Sql.Parser.CreateSchemaNode
Definition:
CreateSchemaNode.cs:6
Deveel.Data.Sql.Statements.CreateSchemaStatement
Definition:
CreateSchemaStatement.cs:4
Deveel.Data.Sql.Parser.CreateSchemaNode.BuildStatement
override void BuildStatement(StatementBuilder builder)
Definition:
CreateSchemaNode.cs:16
Deveel.Data.Sql.Parser.SqlStatementNode
Definition:
SqlStatementNode.cs:6
Deveel.Data.Sql.Parser.CreateSchemaNode.OnChildNode
override ISqlNode OnChildNode(ISqlNode node)
During the initialization of the node from the parser, this method is called for every child node add...
Definition:
CreateSchemaNode.cs:9
Generated by
1.8.10