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
DropSchemaStatementNode.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
DropSchemaStatementNode
:
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
14
return
base.OnChildNode(node);
15
}
16
17
protected
override
void
BuildStatement
(
StatementBuilder
builder) {
18
builder.
Statements
.Add(
new
DropSchemaStatement
(SchemaName));
19
}
20
}
21
}
Deveel.Data.Sql.Parser.DropSchemaStatementNode.BuildStatement
override void BuildStatement(StatementBuilder builder)
Definition:
DropSchemaStatementNode.cs:17
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.Statements.DropSchemaStatement
Definition:
DropSchemaStatement.cs:4
Deveel.Data.Sql.Parser.StatementBuilder
Definition:
StatementBuilder.cs:26
Deveel.Data.Sql.Parser.DropSchemaStatementNode.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:
DropSchemaStatementNode.cs:9
Deveel.Data.Sql.Parser.StatementBuilder.Statements
ICollection< IStatement > Statements
Definition:
StatementBuilder.cs:34
Deveel.Data.Sql.Parser.DropSchemaStatementNode
Definition:
DropSchemaStatementNode.cs:6
Deveel.Data
Definition:
ActiveSessionList.cs:22
Deveel.Data.Sql
Definition:
CellId.cs:22
Deveel.Data.Sql.Parser.SqlStatementNode
Definition:
SqlStatementNode.cs:6
Generated by
1.8.10