net.sf.saffron.oj.xlat
Class SqlToOpenjavaConverter.SchemaCatalogReader
java.lang.Object
|
+--net.sf.saffron.oj.xlat.SqlToOpenjavaConverter.SchemaCatalogReader
- All Implemented Interfaces:
- SqlValidator.CatalogReader
- Enclosing class:
- SqlToOpenjavaConverter
- public static class SqlToOpenjavaConverter.SchemaCatalogReader
- extends Object
- implements SqlValidator.CatalogReader
A SchemaCatalogReader
looks up catalog information from a
saffron schema object
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schema
private final SaffronSchema schema
upperCase
private final boolean upperCase
SqlToOpenjavaConverter.SchemaCatalogReader
public SqlToOpenjavaConverter.SchemaCatalogReader(SaffronSchema schema,
boolean upperCase)
getTable
public SqlValidator.Table getTable(String[] names)
- Description copied from interface:
SqlValidator.CatalogReader
- Finds a table with the given name or names. Returns null if not
found.
- Specified by:
getTable
in interface SqlValidator.CatalogReader
maybeUpper
private String maybeUpper(String s)