OmniSciDB  b24e664e58
 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 249 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 250 of file MapDSqlOperatorTable.java.

250  {
251  super("RAMP",
252  SqlKind.OTHER_FUNCTION,
253  null,
254  null,
255  OperandTypes.NUMERIC,
256  SqlFunctionCategory.USER_DEFINED_FUNCTION);
257  }

Member Function Documentation

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

Definition at line 260 of file MapDSqlOperatorTable.java.

260  {
261  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
262  return typeFactory.builder().add("I", SqlTypeName.INTEGER).build();
263  }

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