saffron.util
Class SqlToOpenjavaConverter.SchemaCatalogReader
java.lang.Object
|
+--saffron.util.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 Schema schema
upperCase
private final boolean upperCase
SqlToOpenjavaConverter.SchemaCatalogReader
public SqlToOpenjavaConverter.SchemaCatalogReader(Schema schema,
boolean upperCase)
maybeUpper
private String maybeUpper(String s)
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