OmniSciDB  e4d26eaa36
com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxMedian Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxMedian:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxMedian:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ApproxMedian ()
 

Detailed Description

Definition at line 1936 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ApproxMedian()

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

Definition at line 1937 of file MapDSqlOperatorTable.java.

1937  {
1938  super("APPROX_MEDIAN",
1939  null,
1940  SqlKind.OTHER_FUNCTION,
1941  null,
1942  null,
1943  OperandTypes.family(SqlTypeFamily.NUMERIC),
1944  SqlFunctionCategory.SYSTEM,
1945  false,
1946  false,
1947  Optionality.FORBIDDEN);
1948  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1951 of file MapDSqlOperatorTable.java.

1951  {
1952  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1953  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1954  }

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