OmniSciDB  85c2d10cdc
 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 320 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 321 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

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

Definition at line 331 of file MapDSqlOperatorTable.java.

References generate_TableFunctionsFactory_init.add.

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

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