OmniSciDB  c07336695a
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 264 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ DedupFunction()

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

Definition at line 265 of file MapDSqlOperatorTable.java.

265  {
266  super("DEDUP",
267  SqlKind.OTHER_FUNCTION,
268  null,
269  null,
270  OperandTypes.VARIADIC,
271  SqlFunctionCategory.USER_DEFINED_FUNCTION);
272  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 275 of file MapDSqlOperatorTable.java.

275  {
276  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
277  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
278  }

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