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

Constructor & Destructor Documentation

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

Definition at line 983 of file MapDSqlOperatorTable.java.

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

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

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

References assert().

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

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

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

+ Here is the caller graph for this function:


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