OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CountIf Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CountIf:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CountIf:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 CountIf ()
 

Detailed Description

Definition at line 3016 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CountIf.CountIf ( )
inlinepackage

Definition at line 3017 of file HeavyDBSqlOperatorTable.java.

3017  {
3018  super("COUNT_IF",
3019  null,
3020  SqlKind.OTHER_FUNCTION,
3021  null,
3022  null,
3023  OperandTypes.ANY,
3024  SqlFunctionCategory.SYSTEM,
3025  false,
3026  false,
3027  Optionality.FORBIDDEN);
3028  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.CountIf.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 3031 of file HeavyDBSqlOperatorTable.java.

3031  {
3032  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
3033  return typeFactory.createTypeWithNullability(
3034  typeFactory.createSqlType(SqlTypeName.BIGINT), false);
3035  }

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