OmniSciDB  b28c0d5765
 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 381 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 382 of file HeavyDBSqlOperatorTable.java.

382  {
383  super("DEDUP",
384  SqlKind.OTHER_FUNCTION,
385  null,
386  null,
387  OperandTypes.VARIADIC,
388  SqlFunctionCategory.USER_DEFINED_FUNCTION);
389  }

Member Function Documentation

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

Definition at line 392 of file HeavyDBSqlOperatorTable.java.

392  {
393  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
394  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
395  }

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