cascading.lingual.catalog.ddl
Class DDLParser

java.lang.Object
  extended by cascading.lingual.catalog.ddl.DDLParser

public class DDLParser
extends Object


Constructor Summary
DDLParser(SchemaCatalog catalog, String schemaName, String protocol, String format)
           
DDLParser(SchemaCatalog catalog, String schemaName, String schemaPath, String protocol, String format)
           
DDLParser(SchemaCatalog catalog, String schemaName, String schemaPath, String protocol, String format, String defaultExtension)
           
 
Method Summary
 void apply(File file)
           
 void execute(List<DDLTable> commands)
           
 List<DDLTable> parse(File file)
           
 List<DDLTable> parse(InputStream inputStream)
           
 List<DDLTable> parse(String string)
           
static DDLColumn[] toColumns(String decl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLParser

public DDLParser(SchemaCatalog catalog,
                 String schemaName,
                 String protocol,
                 String format)

DDLParser

public DDLParser(SchemaCatalog catalog,
                 String schemaName,
                 String schemaPath,
                 String protocol,
                 String format)

DDLParser

public DDLParser(SchemaCatalog catalog,
                 String schemaName,
                 String schemaPath,
                 String protocol,
                 String format,
                 String defaultExtension)
Method Detail

apply

public void apply(File file)
           throws IOException
Throws:
IOException

execute

public void execute(List<DDLTable> commands)

parse

public List<DDLTable> parse(InputStream inputStream)
                     throws IOException
Throws:
IOException

parse

public List<DDLTable> parse(File file)
                     throws IOException
Throws:
IOException

parse

public List<DDLTable> parse(String string)

toColumns

public static DDLColumn[] toColumns(String decl)


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.