OmniSciDB  04ee39c94c
com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 convert_meters_to_pixel_height ()
 

Detailed Description

Definition at line 1576 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ convert_meters_to_pixel_height()

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

Definition at line 1577 of file MapDSqlOperatorTable.java.

1577  {
1578  super("convert_meters_to_pixel_height",
1579  SqlKind.OTHER_FUNCTION,
1580  null,
1581  null,
1582  OperandTypes.family(SqlTypeFamily.NUMERIC,
1583  SqlTypeFamily.ANY,
1584  SqlTypeFamily.NUMERIC,
1585  SqlTypeFamily.NUMERIC,
1586  SqlTypeFamily.NUMERIC,
1587  SqlTypeFamily.NUMERIC),
1588  SqlFunctionCategory.SYSTEM);
1589  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1592 of file MapDSqlOperatorTable.java.

1592  {
1593  assert opBinding.getOperandCount() == 6;
1594  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1595  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1596  }

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