OmniSciDB  95562058bd
 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 1011 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1012 of file MapDSqlOperatorTable.java.

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

1012  {
1013  super("ST_DWithin",
1014  SqlKind.OTHER_FUNCTION,
1015  null,
1016  null,
1017  OperandTypes.family(signature()),
1018  SqlFunctionCategory.SYSTEM);
1019  }

+ 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 1022 of file MapDSqlOperatorTable.java.

References assert().

1022  {
1023  assert opBinding.getOperandCount() == 3;
1024  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1025  return typeFactory.createTypeWithNullability(
1026  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1027  opBinding.getOperandType(0).isNullable()
1028  || opBinding.getOperandType(1).isNullable()
1029  || opBinding.getOperandType(2).isNullable());
1030  }
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 1032 of file MapDSqlOperatorTable.java.

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

1032  {
1033  java.util.List<SqlTypeFamily> st_dwithin_sig =
1034  new java.util.ArrayList<SqlTypeFamily>();
1035  st_dwithin_sig.add(SqlTypeFamily.ANY);
1036  st_dwithin_sig.add(SqlTypeFamily.ANY);
1037  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1038  return st_dwithin_sig;
1039  }

+ Here is the caller graph for this function:


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