smacs.load.schema
Class DbSchemaScanSqlScript
java.lang.Object
smacs.load.schema.DbSchemaScanSqlScript
- public class DbSchemaScanSqlScript
- extends Object
convert parsertree to internal representation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
DbSchemaScanSqlScript
public DbSchemaScanSqlScript(DbSchemaTableStore store)
- constructor. Along with data sink where recognized information can be stored.
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.