cascading.lingual.catalog.ddl
Class DDLParser
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.