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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 MapDAvg ()
 

Detailed Description

Definition at line 1850 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1851 of file MapDSqlOperatorTable.java.

1851  {
1852  super("AVG",
1853  null,
1854  SqlKind.OTHER_FUNCTION,
1855  null,
1856  null,
1857  OperandTypes.family(SqlTypeFamily.NUMERIC),
1858  SqlFunctionCategory.SYSTEM);
1859  }

Member Function Documentation

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

Definition at line 1862 of file MapDSqlOperatorTable.java.

References DOUBLE.

1862  {
1863  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1864  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1865  }
#define DOUBLE

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