db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "LanguageParse" by DanDebrunner
Date Tue, 29 Nov 2005 21:28:58 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:

New page:
= Derby SQL Parsing =

The input to the parser is a Java string containing the text of the SQL statement. Since the
statement is a Java String its character set is always Unicode.

The parser is generated by javacc and its source is in the file {{{ /trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj

Parsing creates a tree of query nodes, each represented by an instance of a sub-class of {{{org.apache.derby.impl.sql.compile.QueryTreeNode}}}
class. Each node represents a database operation.

Currently the nodes are created indirectly through a !NodeFactory, however [http://issues.apache.org/jira/browse/DERBY-673
DERBY-673] describes removing the factory.

Onto the bind phase: LanguageBind

View raw message