OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1054 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1055 of file MapDSqlOperatorTable.java.

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

1055  {
1056  super("ST_Within",
1057  SqlKind.OTHER_FUNCTION,
1058  null,
1059  null,
1060  OperandTypes.family(signature()),
1061  SqlFunctionCategory.SYSTEM);
1062  }

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

References BOOLEAN.

1065  {
1066  assert opBinding.getOperandCount() == 2;
1067  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1068  return typeFactory.createTypeWithNullability(
1069  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1070  opBinding.getOperandType(0).isNullable()
1071  || opBinding.getOperandType(1).isNullable());
1072  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within.signature ( )
inlinestaticprivate

Definition at line 1074 of file MapDSqlOperatorTable.java.

References ANY.

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

1074  {
1075  java.util.List<SqlTypeFamily> st_within_sig =
1076  new java.util.ArrayList<SqlTypeFamily>();
1077  st_within_sig.add(SqlTypeFamily.ANY);
1078  st_within_sig.add(SqlTypeFamily.ANY);
1079  return st_within_sig;
1080  }
#define ANY

+ Here is the caller graph for this function:


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