org.eigenbase.rex
Class RexSqlReflectiveConvertletTable
java.lang.Object
org.eigenbase.rex.RexSqlReflectiveConvertletTable
- All Implemented Interfaces:
- RexSqlConvertletTable
- Direct Known Subclasses:
- RexSqlStandardConvertletTable
public class RexSqlReflectiveConvertletTable
- extends Object
- implements RexSqlConvertletTable
Implementation of RexSqlConvertletTable
.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/rex/RexSqlReflectiveConvertletTable.java#5 $
- Author:
- Sunny Choi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
private final Map<Object,Object> map
RexSqlReflectiveConvertletTable
public RexSqlReflectiveConvertletTable()
get
public RexSqlConvertlet get(RexCall call)
- Description copied from interface:
RexSqlConvertletTable
- Returns the convertlet applicable to a given expression.
- Specified by:
get
in interface RexSqlConvertletTable
registerOp
protected void registerOp(SqlOperator op,
RexSqlConvertlet convertlet)
- Registers a convertlet for a given operator instance
- Parameters:
op
- Operator instance, say SqlStdOperatorTable.minusOperator
convertlet
- Convertlet