OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 861 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 862 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin.signature().

862  {
863  super("ST_DWithin",
864  SqlKind.OTHER_FUNCTION,
865  null,
866  null,
867  OperandTypes.family(signature()),
868  SqlFunctionCategory.SYSTEM);
869  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 872 of file MapDSqlOperatorTable.java.

References assert().

872  {
873  assert opBinding.getOperandCount() == 3;
874  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
875  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
876  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

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

Definition at line 878 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin.ST_DWithin().

878  {
879  java.util.List<SqlTypeFamily> st_dwithin_sig =
880  new java.util.ArrayList<SqlTypeFamily>();
881  st_dwithin_sig.add(SqlTypeFamily.ANY);
882  st_dwithin_sig.add(SqlTypeFamily.ANY);
883  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
884  return st_dwithin_sig;
885  }

+ Here is the caller graph for this function:


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