SMACS

smacs.load.schema
Class DbSchemaScanSqlScript

java.lang.Object
  extended bysmacs.load.schema.DbSchemaScanSqlScript

public class DbSchemaScanSqlScript
extends Object

convert parsertree to internal representation.


Field Summary
protected static Logger log
           
 
Constructor Summary
DbSchemaScanSqlScript(DbSchemaTableStore store)
          constructor.
 
Method Summary
 int scanSqlScript(SimpleNode sql)
          searches into a tree for interesting nodes.
 int scanSqlTableDeclaration(SimpleNode sql)
          parser a CREATE TABLE statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

DbSchemaScanSqlScript

public DbSchemaScanSqlScript(DbSchemaTableStore store)
constructor. Along with data sink where recognized information can be stored.

Method Detail

scanSqlScript

public int scanSqlScript(SimpleNode sql)
searches into a tree for interesting nodes. Generally looks for CREATE TABLE statements.


scanSqlTableDeclaration

public int scanSqlTableDeclaration(SimpleNode sql)
parser a CREATE TABLE statement.


SMACS