OmniSciDB  a987f07e93
 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 362 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 363 of file HeavyDBSqlOperatorTable.java.

363  {
364  super("RAMP",
365  SqlKind.OTHER_FUNCTION,
366  null,
367  null,
368  OperandTypes.NUMERIC,
369  SqlFunctionCategory.USER_DEFINED_FUNCTION);
370  }

Member Function Documentation

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

Definition at line 373 of file HeavyDBSqlOperatorTable.java.

373  {
374  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
375  return typeFactory.builder().add("I", SqlTypeName.INTEGER).build();
376  }

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