OmniSciDB  06b3bd477c
 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 1010 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1011 of file MapDSqlOperatorTable.java.

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

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

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

References assert().

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

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

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

+ Here is the caller graph for this function:


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