OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.RampFunction Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.RampFunction:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.RampFunction:

Public Member Functions

 RampFunction ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

"RAMP" user-defined function.

Definition at line 301 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.MapDSqlOperatorTable.RampFunction.RampFunction ( )
inline

Definition at line 302 of file MapDSqlOperatorTable.java.

302  {
303  super("RAMP",
304  SqlKind.OTHER_FUNCTION,
305  null,
306  null,
307  OperandTypes.NUMERIC,
308  SqlFunctionCategory.USER_DEFINED_FUNCTION);
309  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.RampFunction.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 312 of file MapDSqlOperatorTable.java.

312  {
313  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
314  return typeFactory.builder().add("I", SqlTypeName.INTEGER).build();
315  }

The documentation for this class was generated from the following file: