OmniSciDB  4201147b46
 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 328 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 329 of file HeavyDBSqlOperatorTable.java.

329  {
330  super("RAMP",
331  SqlKind.OTHER_FUNCTION,
332  null,
333  null,
334  OperandTypes.NUMERIC,
335  SqlFunctionCategory.USER_DEFINED_FUNCTION);
336  }

Member Function Documentation

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

Definition at line 339 of file HeavyDBSqlOperatorTable.java.

339  {
340  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
341  return typeFactory.builder().add("I", SqlTypeName.INTEGER).build();
342  }

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