OmniSciDB  72c90bc290
 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 2875 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2876 of file HeavyDBSqlOperatorTable.java.

2876  {
2877  super("COUNT_IF",
2878  null,
2879  SqlKind.OTHER_FUNCTION,
2880  null,
2881  null,
2882  OperandTypes.ANY,
2883  SqlFunctionCategory.SYSTEM,
2884  false,
2885  false,
2886  Optionality.FORBIDDEN);
2887  }

Member Function Documentation

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

Definition at line 2890 of file HeavyDBSqlOperatorTable.java.

2890  {
2891  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2892  return typeFactory.createTypeWithNullability(
2893  typeFactory.createSqlType(SqlTypeName.BIGINT), false);
2894  }

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