OmniSciDB  c07336695a
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 909 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_MaxDistance()

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

Definition at line 910 of file MapDSqlOperatorTable.java.

910  {
911  super("ST_MaxDistance",
912  SqlKind.OTHER_FUNCTION,
913  null,
914  null,
915  OperandTypes.family(signature()),
916  SqlFunctionCategory.SYSTEM);
917  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 920 of file MapDSqlOperatorTable.java.

920  {
921  assert opBinding.getOperandCount() == 2;
922  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
923  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
924  }

◆ signature()

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

Definition at line 926 of file MapDSqlOperatorTable.java.

926  {
927  java.util.List<SqlTypeFamily> st_maxdistance_sig =
928  new java.util.ArrayList<SqlTypeFamily>();
929  st_maxdistance_sig.add(SqlTypeFamily.ANY);
930  st_maxdistance_sig.add(SqlTypeFamily.ANY);
931  return st_maxdistance_sig;
932  }

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