OmniSciDB  72180abbfe
 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 305 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 306 of file MapDSqlOperatorTable.java.

306  {
307  super("DEDUP",
308  SqlKind.OTHER_FUNCTION,
309  null,
310  null,
311  OperandTypes.VARIADIC,
312  SqlFunctionCategory.USER_DEFINED_FUNCTION);
313  }

Member Function Documentation

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

Definition at line 316 of file MapDSqlOperatorTable.java.

316  {
317  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
318  return typeFactory.builder().add("NAME", SqlTypeName.VARCHAR, 1024).build();
319  }

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