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

Public Member Functions

 RampFunction ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

"RAMP" user-defined function.

Definition at line 388 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 389 of file HeavyDBSqlOperatorTable.java.

389  {
390  super("RAMP",
391  SqlKind.OTHER_FUNCTION,
392  null,
393  null,
394  OperandTypes.NUMERIC,
395  SqlFunctionCategory.USER_DEFINED_FUNCTION);
396  }

Member Function Documentation

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

Definition at line 399 of file HeavyDBSqlOperatorTable.java.

399  {
400  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
401  return typeFactory.builder().add("I", SqlTypeName.INTEGER).build();
402  }

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