|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.sql.validate.DelegatingSqlValidatorCatalogReader
public abstract class DelegatingSqlValidatorCatalogReader
Implementation of
SqlValidatorCatalogReader that passes
all calls to a parent catalog reader.
| Field Summary | |
|---|---|
protected SqlValidatorCatalogReader |
catalogReader
|
| Constructor Summary | |
|---|---|
DelegatingSqlValidatorCatalogReader(SqlValidatorCatalogReader catalogReader)
Creates a DelegatingSqlValidatorCatalogReader. |
|
| Method Summary | |
|---|---|
List<SqlMoniker> |
getAllSchemaObjectNames(List<String> names)
Gets schema object names as specified. |
RelDataType |
getNamedType(SqlIdentifier typeName)
Finds a user-defined type with the given name, possibly qualified. |
String |
getSchemaName()
Returns the name of the current schema. |
SqlValidatorTable |
getTable(String[] names)
Finds a table with the given name, possibly qualified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final SqlValidatorCatalogReader catalogReader
| Constructor Detail |
|---|
public DelegatingSqlValidatorCatalogReader(SqlValidatorCatalogReader catalogReader)
catalogReader - Parent catalog reader| Method Detail |
|---|
public SqlValidatorTable getTable(String[] names)
SqlValidatorCatalogReader
getTable in interface SqlValidatorCatalogReadernames - Name of table
public RelDataType getNamedType(SqlIdentifier typeName)
SqlValidatorCatalogReaderNOTE jvs 12-Feb-2005: the reason this method is defined here instead of on RelDataTypeFactory is that it has to take into account context-dependent information such as SQL schema path, whereas a type factory is context-independent.
getNamedType in interface SqlValidatorCatalogReadertypeName - Name of type
public List<SqlMoniker> getAllSchemaObjectNames(List<String> names)
SqlValidatorCatalogReader
getAllSchemaObjectNames in interface SqlValidatorCatalogReadernames - the array contains either 2 elements representing a
partially qualified object name in the format of 'schema.object', or an
unqualified name in the format of 'object'
public String getSchemaName()
SqlValidatorCatalogReader
getSchemaName in interface SqlValidatorCatalogReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||