OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_DWithin ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 829 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_DWithin()

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

Definition at line 830 of file MapDSqlOperatorTable.java.

830  {
831  super("ST_DWithin",
832  SqlKind.OTHER_FUNCTION,
833  null,
834  null,
835  OperandTypes.family(signature()),
836  SqlFunctionCategory.SYSTEM);
837  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 840 of file MapDSqlOperatorTable.java.

840  {
841  assert opBinding.getOperandCount() == 3;
842  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
843  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
844  }

◆ signature()

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

Definition at line 846 of file MapDSqlOperatorTable.java.

846  {
847  java.util.List<SqlTypeFamily> st_dwithin_sig =
848  new java.util.ArrayList<SqlTypeFamily>();
849  st_dwithin_sig.add(SqlTypeFamily.ANY);
850  st_dwithin_sig.add(SqlTypeFamily.ANY);
851  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
852  return st_dwithin_sig;
853  }

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