OmniSciDB  a987f07e93
 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 2544 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2545 of file HeavyDBSqlOperatorTable.java.

2545  {
2546  super("AVG",
2547  null,
2548  SqlKind.OTHER_FUNCTION,
2549  null,
2550  null,
2551  OperandTypes.family(SqlTypeFamily.NUMERIC),
2552  SqlFunctionCategory.SYSTEM);
2553  }

Member Function Documentation

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

Definition at line 2556 of file HeavyDBSqlOperatorTable.java.

2556  {
2557  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2558  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2559  }

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