OmniSciDB  dfae7c3b14
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 315 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ DedupFunction()

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

Definition at line 316 of file MapDSqlOperatorTable.java.

316  {
317  super("DEDUP",
318  SqlKind.OTHER_FUNCTION,
319  null,
320  null,
321  OperandTypes.VARIADIC,
322  SqlFunctionCategory.USER_DEFINED_FUNCTION);
323  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 326 of file MapDSqlOperatorTable.java.

326  {
327  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
328  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
329  }

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