OmniSciDB  dfae7c3b14
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 1990 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 1991 of file MapDSqlOperatorTable.java.

1991  {
1992  super("convert_meters_to_pixel_width",
1993  SqlKind.OTHER_FUNCTION,
1994  null,
1995  null,
1996  OperandTypes.family(SqlTypeFamily.NUMERIC,
1997  SqlTypeFamily.ANY,
1998  SqlTypeFamily.NUMERIC,
1999  SqlTypeFamily.NUMERIC,
2000  SqlTypeFamily.NUMERIC,
2001  SqlTypeFamily.NUMERIC),
2002  SqlFunctionCategory.SYSTEM);
2003  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 2006 of file MapDSqlOperatorTable.java.

2006  {
2007  assert opBinding.getOperandCount() == 6;
2008  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2009  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
2010  }

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