OmniSciDB  a5dc49c757
 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 408 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 409 of file HeavyDBSqlOperatorTable.java.

409  {
410  super("DEDUP",
411  SqlKind.OTHER_FUNCTION,
412  null,
413  null,
414  OperandTypes.VARIADIC,
415  SqlFunctionCategory.USER_DEFINED_FUNCTION);
416  }

Member Function Documentation

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

Definition at line 419 of file HeavyDBSqlOperatorTable.java.

419  {
420  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
421  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
422  }

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