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

Public Member Functions

 DedupFunction ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

"DEDUP" user-defined function.

Definition at line 326 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 327 of file MapDSqlOperatorTable.java.

327  {
328  super("DEDUP",
329  SqlKind.OTHER_FUNCTION,
330  null,
331  null,
332  OperandTypes.VARIADIC,
333  SqlFunctionCategory.USER_DEFINED_FUNCTION);
334  }

Member Function Documentation

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

Definition at line 337 of file MapDSqlOperatorTable.java.

337  {
338  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
339  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
340  }

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