OmniSciDB  b24e664e58
 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 269 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 270 of file MapDSqlOperatorTable.java.

270  {
271  super("DEDUP",
272  SqlKind.OTHER_FUNCTION,
273  null,
274  null,
275  OperandTypes.VARIADIC,
276  SqlFunctionCategory.USER_DEFINED_FUNCTION);
277  }

Member Function Documentation

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

Definition at line 280 of file MapDSqlOperatorTable.java.

280  {
281  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
282  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
283  }

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