OmniSciDB  04ee39c94c
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 1553 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 1554 of file MapDSqlOperatorTable.java.

1554  {
1555  super("convert_meters_to_pixel_width",
1556  SqlKind.OTHER_FUNCTION,
1557  null,
1558  null,
1559  OperandTypes.family(SqlTypeFamily.NUMERIC,
1560  SqlTypeFamily.ANY,
1561  SqlTypeFamily.NUMERIC,
1562  SqlTypeFamily.NUMERIC,
1563  SqlTypeFamily.NUMERIC,
1564  SqlTypeFamily.NUMERIC),
1565  SqlFunctionCategory.SYSTEM);
1566  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1569 of file MapDSqlOperatorTable.java.

1569  {
1570  assert opBinding.getOperandCount() == 6;
1571  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1572  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1573  }

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