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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_MaxDistance ()
 

Static Private Member Functions

static java.util.List< SqlTypeFamily > signature ()
 

Detailed Description

Definition at line 970 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_MaxDistance()

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

Definition at line 971 of file MapDSqlOperatorTable.java.

971  {
972  super("ST_MaxDistance",
973  SqlKind.OTHER_FUNCTION,
974  null,
975  null,
976  OperandTypes.family(signature()),
977  SqlFunctionCategory.SYSTEM);
978  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 981 of file MapDSqlOperatorTable.java.

981  {
982  assert opBinding.getOperandCount() == 2;
983  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
984  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
985  }

◆ signature()

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance.signature ( )
inlinestaticprivate

Definition at line 987 of file MapDSqlOperatorTable.java.

987  {
988  java.util.List<SqlTypeFamily> st_maxdistance_sig =
989  new java.util.ArrayList<SqlTypeFamily>();
990  st_maxdistance_sig.add(SqlTypeFamily.ANY);
991  st_maxdistance_sig.add(SqlTypeFamily.ANY);
992  return st_maxdistance_sig;
993  }

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