OmniSciDB  29e35f4d58
com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 convert_meters_to_pixel_width ()
 

Detailed Description

Definition at line 1671 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ convert_meters_to_pixel_width()

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

Definition at line 1672 of file MapDSqlOperatorTable.java.

1672  {
1673  super("convert_meters_to_pixel_width",
1674  SqlKind.OTHER_FUNCTION,
1675  null,
1676  null,
1677  OperandTypes.family(SqlTypeFamily.NUMERIC,
1678  SqlTypeFamily.ANY,
1679  SqlTypeFamily.NUMERIC,
1680  SqlTypeFamily.NUMERIC,
1681  SqlTypeFamily.NUMERIC,
1682  SqlTypeFamily.NUMERIC),
1683  SqlFunctionCategory.SYSTEM);
1684  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1687 of file MapDSqlOperatorTable.java.

1687  {
1688  assert opBinding.getOperandCount() == 6;
1689  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1690  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1691  }

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