org.eigenbase.test
Class MockSqlOperatorTable

java.lang.Object
  extended by org.eigenbase.sql.util.ChainedSqlOperatorTable
      extended by org.eigenbase.test.MockSqlOperatorTable
All Implemented Interfaces:
SqlOperatorTable

public class MockSqlOperatorTable
extends ChainedSqlOperatorTable

Mock operator table for testing purposes. Contains the standard SQL operator table, plus a list of operators.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/test/MockSqlOperatorTable.java#8 $
Author:
jhyde

Field Summary
private  ListSqlOperatorTable listOpTab
           
 
Constructor Summary
MockSqlOperatorTable(SqlOperatorTable parentTable)
           
 
Method Summary
 void addOperator(SqlOperator op)
          Adds an operator to this table.
static void addRamp(MockSqlOperatorTable opTab)
           
 
Methods inherited from class org.eigenbase.sql.util.ChainedSqlOperatorTable
add, getOperatorList, lookupOperatorOverloads
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listOpTab

private final ListSqlOperatorTable listOpTab
Constructor Detail

MockSqlOperatorTable

public MockSqlOperatorTable(SqlOperatorTable parentTable)
Method Detail

addOperator

public void addOperator(SqlOperator op)
Adds an operator to this table.


addRamp

public static void addRamp(MockSqlOperatorTable opTab)