OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 321 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 322 of file MapDSqlOperatorTable.java.

322  {
323  super("DEDUP",
324  SqlKind.OTHER_FUNCTION,
325  null,
326  null,
327  OperandTypes.VARIADIC,
328  SqlFunctionCategory.USER_DEFINED_FUNCTION);
329  }

Member Function Documentation

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

Definition at line 332 of file MapDSqlOperatorTable.java.

332  {
333  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
334  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
335  }

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