org.eigenbase.sql.type
Class CursorReturnTypeInference
java.lang.Object
org.eigenbase.sql.type.CursorReturnTypeInference
- All Implemented Interfaces:
- SqlReturnTypeInference
public class CursorReturnTypeInference
- extends Object
- implements SqlReturnTypeInference
Returns the rowtype of a cursor of the operand at a particular 0-based
ordinal position.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/type/CursorReturnTypeInference.java#7 $
- Author:
- Julian Hyde
- See Also:
OrdinalReturnTypeInference
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ordinal
private final int ordinal
CursorReturnTypeInference
public CursorReturnTypeInference(int ordinal)
inferReturnType
public RelDataType inferReturnType(SqlOperatorBinding opBinding)
- Description copied from interface:
SqlReturnTypeInference
- Infers the return type of a call to an
SqlOperator
.
- Specified by:
inferReturnType
in interface SqlReturnTypeInference
- Parameters:
opBinding
- description of operator binding
- Returns:
- inferred type