OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Within ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 981 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 982 of file MapDSqlOperatorTable.java.

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

982  {
983  super("ST_Within",
984  SqlKind.OTHER_FUNCTION,
985  null,
986  null,
987  OperandTypes.family(signature()),
988  SqlFunctionCategory.SYSTEM);
989  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 992 of file MapDSqlOperatorTable.java.

References assert().

992  {
993  assert opBinding.getOperandCount() == 2;
994  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
995  return typeFactory.createTypeWithNullability(
996  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
997  opBinding.getOperandType(0).isNullable()
998  || opBinding.getOperandType(1).isNullable());
999  }
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_Within.signature ( )
inlinestaticprivate

Definition at line 1001 of file MapDSqlOperatorTable.java.

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

1001  {
1002  java.util.List<SqlTypeFamily> st_within_sig =
1003  new java.util.ArrayList<SqlTypeFamily>();
1004  st_within_sig.add(SqlTypeFamily.ANY);
1005  st_within_sig.add(SqlTypeFamily.ANY);
1006  return st_within_sig;
1007  }

+ Here is the caller graph for this function:


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