net.sf.saffron.sql
Class SqlValidator.IdentifierScope

java.lang.Object
  |
  +--net.sf.saffron.sql.SqlValidator.Scope
        |
        +--net.sf.saffron.sql.SqlValidator.IdentifierScope
Enclosing class:
SqlValidator

public class SqlValidator.IdentifierScope
extends SqlValidator.Scope


Field Summary
 SqlIdentifier id
           
private  SqlValidator.Table table
          The underlying table.
 
Fields inherited from class net.sf.saffron.sql.SqlValidator.Scope
parent
 
Constructor Summary
(package private) SqlValidator.IdentifierScope(SqlValidator.Scope parent, SqlIdentifier id, String alias)
           
 
Method Summary
(package private)  SqlNode getNode()
           
 SaffronType getRowType()
          Returns a list of names of output columns.
 SqlValidator.Table getTable()
          Returns the underlying table, or null if there is none.
 void validate()
           
 
Methods inherited from class net.sf.saffron.sql.SqlValidator.Scope
deriveAlias, findQualifyingTableName, fullyQualify, getAlias, getScopeFromNode, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public final SqlIdentifier id

table

private SqlValidator.Table table
The underlying table. Set on validate.

Constructor Detail

SqlValidator.IdentifierScope

SqlValidator.IdentifierScope(SqlValidator.Scope parent,
                             SqlIdentifier id,
                             String alias)
Method Detail

getRowType

public SaffronType getRowType()
Description copied from class: SqlValidator.Scope
Returns a list of names of output columns.

Specified by:
getRowType in class SqlValidator.Scope

validate

public void validate()
Overrides:
validate in class SqlValidator.Scope

getNode

SqlNode getNode()
Specified by:
getNode in class SqlValidator.Scope

getTable

public SqlValidator.Table getTable()
Description copied from class: SqlValidator.Scope
Returns the underlying table, or null if there is none.

Overrides:
getTable in class SqlValidator.Scope

SourceForge.net_Logo