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

Public Member Functions

 DedupFunction ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

"DEDUP" user-defined function.

Definition at line 348 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 349 of file HeavyDBSqlOperatorTable.java.

349  {
350  super("DEDUP",
351  SqlKind.OTHER_FUNCTION,
352  null,
353  null,
354  OperandTypes.VARIADIC,
355  SqlFunctionCategory.USER_DEFINED_FUNCTION);
356  }

Member Function Documentation

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

Definition at line 359 of file HeavyDBSqlOperatorTable.java.

359  {
360  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
361  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
362  }

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