net.sf.farrago.query
Class FarragoPreparingStmt.ValidatorTable

java.lang.Object
  extended by net.sf.farrago.query.FarragoPreparingStmt.ValidatorTable
All Implemented Interfaces:
SqlValidatorTable
Enclosing class:
FarragoPreparingStmt

protected static class FarragoPreparingStmt.ValidatorTable
extends Object
implements SqlValidatorTable


Field Summary
private  SqlAccessType accessType
           
private  ModalityType modality
           
private  String[] qualifiedName
           
private  RelDataType rowType
           
 
Constructor Summary
FarragoPreparingStmt.ValidatorTable(String[] qualifiedName, RelDataType rowType, SqlAccessType accessType, ModalityType modality)
          Creates a new ValidatorTable object.
 
Method Summary
 SqlAccessType getAllowedAccess()
          Returns the access type of the table
 ModalityType getModality()
           
 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

qualifiedName

private final String[] qualifiedName

rowType

private final RelDataType rowType

accessType

private final SqlAccessType accessType

modality

private final ModalityType modality
Constructor Detail

FarragoPreparingStmt.ValidatorTable

public FarragoPreparingStmt.ValidatorTable(String[] qualifiedName,
                                           RelDataType rowType,
                                           SqlAccessType accessType,
                                           ModalityType modality)
Creates a new ValidatorTable object.

Method Detail

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

getRowType

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

getModality

public ModalityType getModality()