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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 MapDAvg ()
 

Detailed Description

Definition at line 2940 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2941 of file HeavyDBSqlOperatorTable.java.

2941  {
2942  super("AVG",
2943  null,
2944  SqlKind.OTHER_FUNCTION,
2945  null,
2946  null,
2947  OperandTypes.or(OperandTypes.family(SqlTypeFamily.NUMERIC),
2948  OperandTypes.family(SqlTypeFamily.GEO)),
2949  SqlFunctionCategory.SYSTEM);
2950  }

Member Function Documentation

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

Definition at line 2953 of file HeavyDBSqlOperatorTable.java.

2953  {
2954  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2955  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2956  }

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