org.eigenbase.sql.validate
Class DelegatingSqlValidatorTable

java.lang.Object
  extended by org.eigenbase.sql.validate.DelegatingSqlValidatorTable
All Implemented Interfaces:
SqlValidatorTable

public abstract class DelegatingSqlValidatorTable
extends Object
implements SqlValidatorTable

Implements SqlValidatorTable by delegating to a parent table.

Since:
Mar 9, 2009
Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/validate/DelegatingSqlValidatorTable.java#1 $
Author:
jhyde

Field Summary
protected  SqlValidatorTable table
           
 
Constructor Summary
DelegatingSqlValidatorTable(SqlValidatorTable table)
          Creates a DelegatingSqlValidatorTable.
 
Method Summary
 SqlAccessType getAllowedAccess()
          Returns the access type of the table
 SqlMonotonicity getMonotonicity(String columnName)
          Returns whether a given column is monotonic.
 String[] getQualifiedName()
           
 RelDataType getRowType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected final SqlValidatorTable table
Constructor Detail

DelegatingSqlValidatorTable

public DelegatingSqlValidatorTable(SqlValidatorTable table)
Creates a DelegatingSqlValidatorTable.

Parameters:
table - Parent table
Method Detail

getRowType

public RelDataType getRowType()
Specified by:
getRowType in interface SqlValidatorTable

getQualifiedName

public String[] getQualifiedName()
Specified by:
getQualifiedName in interface SqlValidatorTable

getMonotonicity

public SqlMonotonicity getMonotonicity(String columnName)
Description copied from interface: SqlValidatorTable
Returns whether a given column is monotonic.

Specified by:
getMonotonicity in interface SqlValidatorTable

getAllowedAccess

public SqlAccessType getAllowedAccess()
Description copied from interface: SqlValidatorTable
Returns the access type of the table

Specified by:
getAllowedAccess in interface SqlValidatorTable