net.sf.saffron.sql2rel
Class SqlToRelConverter.SchemaCatalogReader
java.lang.Object
|
+--net.sf.saffron.sql2rel.SqlToRelConverter.SchemaCatalogReader
- All Implemented Interfaces:
- SqlValidator.CatalogReader
- Enclosing class:
- SqlToRelConverter
- public static class SqlToRelConverter.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
SqlToRelConverter.SchemaCatalogReader
public SqlToRelConverter.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)